pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ntp4 needs -D_GNU_SOURCE on Linux for struct in6_p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/763c5ba61841
branches:  trunk
changeset: 398770:763c5ba61841
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Sep 08 11:34:02 2009 +0000

description:
needs -D_GNU_SOURCE on Linux for struct in6_pktinfo

diffstat:

 net/ntp4/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r bdbea5fdcaa1 -r 763c5ba61841 net/ntp4/Makefile
--- a/net/ntp4/Makefile Tue Sep 08 10:36:39 2009 +0000
+++ b/net/ntp4/Makefile Tue Sep 08 11:34:02 2009 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index