pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind914 bind914: Disable Linux capabilities if the...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aec9ae411dd2
branches: trunk
changeset: 414384:aec9ae411dd2
user: nia <nia%pkgsrc.org@localhost>
date: Thu Mar 26 13:54:35 2020 +0000
description:
bind914: Disable Linux capabilities if there's no sys/capability.h
diffstat:
net/bind914/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 1910f6cfb916 -r aec9ae411dd2 net/bind914/Makefile
--- a/net/bind914/Makefile Thu Mar 26 13:50:27 2020 +0000
+++ b/net/bind914/Makefile Thu Mar 26 13:54:35 2020 +0000
@@ -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_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