diff options
author | taca <taca@pkgsrc.org> | 2020-05-30 14:20:36 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2020-05-30 14:20:36 +0000 |
commit | e7a42d41d9c79f0774580b92cd80acd8ba4c8173 (patch) | |
tree | e2924db4502d6d2ae979058e098876093c66b42d /net/bind911 | |
parent | caaa8d7a978ea4b1008c01963296905744d5c76d (diff) | |
download | pkgsrc-e7a42d41d9c79f0774580b92cd80acd8ba4c8173.tar.gz |
net/bind911: fix build problem if PKG_DEVELOPER is enabled
There was build problem after pkg-config was aded to USE_TOOLS if
PKG_DEVELOPER is enabled, causing WRKDIR reference.
Fix method is dirty (or quick) hack.
Diffstat (limited to 'net/bind911')
-rw-r--r-- | net/bind911/Makefile | 3 | ||||
-rw-r--r-- | net/bind911/distinfo | 3 | ||||
-rw-r--r-- | net/bind911/patches/patch-bin_named_Makefile.in | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net/bind911/Makefile b/net/bind911/Makefile index 5069e87235f..dc203fc1a93 100644 --- a/net/bind911/Makefile +++ b/net/bind911/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2020/05/21 12:45:47 jperkin Exp $ +# $NetBSD: Makefile,v 1.26 2020/05/30 14:20:36 taca Exp $ DISTNAME= bind-${BIND_VERSION} PKGNAME= ${DISTNAME:S/-P/pl/} @@ -25,6 +25,7 @@ BUILD_DEFS+= BIND_DIR VARBASE USE_TOOLS+= pax perl pkg-config USE_LIBTOOL= yes GNU_CONFIGURE= yes +MAKE_ENV+= WRKDIR=${WRKDIR} PREFIX=${PREFIX} CONFIGURE_ARGS+= --with-libtool CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} diff --git a/net/bind911/distinfo b/net/bind911/distinfo index 88b7fb1338e..2c6229476ef 100644 --- a/net/bind911/distinfo +++ b/net/bind911/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.18 2020/05/19 10:21:25 taca Exp $ +$NetBSD: distinfo,v 1.19 2020/05/30 14:20:36 taca Exp $ SHA1 (bind-9.11.19.tar.gz) = f62726f2379eb1f2921c64c20f6668ce3db190c2 RMD160 (bind-9.11.19.tar.gz) = 1c3fb7df3a88e2e13053f606b6a2d6a3efd73185 SHA512 (bind-9.11.19.tar.gz) = 4378afcd8c72a3f1b597e180a21674e1bbfc44b8378831ab3256395bdc46dce74da31aaa855fbae29d4c93e360dad233e3c8e3e69326779ddfecddbc96511ea2 Size (bind-9.11.19.tar.gz) = 8230483 bytes +SHA1 (patch-bin_named_Makefile.in) = 3e5b98e3e0bdb701be679d3580d6d2d7609d655b SHA1 (patch-bin_named_server.c) = 0294d74eb3039049c4672a3de6eb371407bb382d SHA1 (patch-bin_pkcs11_pkcs11-keygen.c) = ca2671a5e3216a08a212cf893e070b01705ef9ee SHA1 (patch-bin_tests_system_metadata_tests.sh) = d01a492d0b7738760bdbff714248e279a78fef28 diff --git a/net/bind911/patches/patch-bin_named_Makefile.in b/net/bind911/patches/patch-bin_named_Makefile.in new file mode 100644 index 00000000000..c80f5511363 --- /dev/null +++ b/net/bind911/patches/patch-bin_named_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-bin_named_Makefile.in,v 1.1 2020/05/30 14:20:36 taca Exp $ + +* Dirty hack to prevent WRKDIR reference. + +--- bin/named/Makefile.in.orig 2020-05-06 12:50:24.000000000 +0000 ++++ bin/named/Makefile.in +@@ -130,7 +130,7 @@ main.@O@: main.c + -DPRODUCT=\"${PRODUCT}\" \ + -DDESCRIPTION=\"${DESCRIPTION}\" \ + -DSRCID=\"${SRCID}\" \ +- -DCONFIGARGS="\"${CONFIGARGS}\"" \ ++ -DCONFIGARGS="\"${CONFIGARGS:S/${WRKDIR}\/.tools/${PREFIX}/g:S/${WRKDIR}\/.buildlink/${PREFIX}/g}\"" \ + -DBUILDER="\"make\"" \ + -DNS_LOCALSTATEDIR=\"${localstatedir}\" \ + -DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c |