summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortnn <tnn>2009-09-08 11:34:02 +0000
committertnn <tnn>2009-09-08 11:34:02 +0000
commit70ae64665cbbeb5256bd5d517be9a094c15586cb (patch)
treedeb842baa0ef7a4abb838ab12e261e24d1acc7b6 /net
parentb2352fe606b1b3a5797ee9851164a1b01b06ac75 (diff)
downloadpkgsrc-70ae64665cbbeb5256bd5d517be9a094c15586cb.tar.gz
needs -D_GNU_SOURCE on Linux for struct in6_pktinfo
Diffstat (limited to 'net')
-rw-r--r--net/ntp4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index fd514e9e385..e328ea0d346 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2009/09/08 10:06:50 tnn Exp $
+# $NetBSD: Makefile,v 1.64 2009/09/08 11:34:02 tnn Exp $
#
DISTNAME= ntp-4.2.4p7
@@ -59,6 +59,8 @@ CONFIGURE_ARGS+= --enable-linuxcaps
# no chroot/privilege drop supported
.endif
+CPPFLAGS.Linux+= -D_GNU_SOURCE # for struct in6_pktinfo
+
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl-incdir=${SSLBASE}/include