dnscontrol tweaks:
- add aarch64 to ONLY_FOR_ARCHS now that it has golang - drop "MODGO_FLAGS= -tags nosystemd", it was only being passed in for tests which it didn't change, and didn't do anything else. - add the default MODGO_FLAGS from go.port.mk to the custom build commands, to honour MAKE_JOBS/debug settings, and display source files being built
This commit is contained in:
parent
423d27c9bb
commit
7b79b85892
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2020/01/20 21:39:06 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2020/01/20 21:41:02 sthen Exp $
|
||||
|
||||
# XXX intersection of GO_ARCHS and LP64_ARCHS
|
||||
# providers/octodns/octoyaml/read.go:265:17: constant 4294967295 overflows int
|
||||
ONLY_FOR_ARCHS = amd64
|
||||
ONLY_FOR_ARCHS = aarch64 amd64
|
||||
|
||||
COMMENT = manage DNS configuration across any number of DNS hosts
|
||||
|
||||
@ -21,13 +21,12 @@ WANTLIB = c pthread
|
||||
|
||||
MODULES = lang/go
|
||||
|
||||
MODGO_FLAGS += -tags nosystemd
|
||||
MODGO_TEST_FLAGS += -provider BIND
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${MODGO_CMD} generate
|
||||
cd ${WRKSRC} && ${MODGO_CMD} build
|
||||
cd ${WRKSRC}/cmd/convertzone && ${MODGO_CMD} build
|
||||
cd ${WRKSRC} && ${MODGO_CMD} generate ${MODGO_FLAGS}
|
||||
cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS}
|
||||
cd ${WRKSRC}/cmd/convertzone && ${MODGO_CMD} build ${MODGO_FLAGS}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dnscontrol ${PREFIX}/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user