pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/bind914



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Mar 26 13:54:35 UTC 2020

Modified Files:
        pkgsrc/net/bind914: Makefile

Log Message:
bind914: Disable Linux capabilities if there's no sys/capability.h


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/bind914/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/bind914/Makefile
diff -u pkgsrc/net/bind914/Makefile:1.19 pkgsrc/net/bind914/Makefile:1.20
--- pkgsrc/net/bind914/Makefile:1.19    Thu Feb 20 16:37:06 2020
+++ pkgsrc/net/bind914/Makefile Thu Mar 26 13:54:35 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/02/20 16:37:06 taca Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/26 13:54:35 nia Exp $
 
 DISTNAME=      bind-${BIND_VERSION}
 PKGNAME=       ${DISTNAME:S/-P/pl/}
@@ -26,6 +26,10 @@ USE_TOOLS+=          pax perl
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 
+.if ${OPSYS} == "Linux" && !exists(/usr/include/sys/capability.h)
+CONFIGURE_ARGS+=               --disable-linux-caps
+.endif
+
 CONFIGURE_ARGS+=               --with-libtool
 CONFIGURE_ARGS+=               --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=               --localstatedir=${VARBASE}



Home | Main Index | Thread Index | Old Index