Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp fix MKINET6=no compile



details:   https://anonhg.NetBSD.org/src/rev/8f27aad82721
branches:  trunk
changeset: 757552:8f27aad82721
user:      kardel <kardel%NetBSD.org@localhost>
date:      Sat Sep 04 17:06:06 2010 +0000

description:
fix MKINET6=no compile

diffstat:

 external/bsd/ntp/Makefile.inc |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 67557db11982 -r 8f27aad82721 external/bsd/ntp/Makefile.inc
--- a/external/bsd/ntp/Makefile.inc     Sat Sep 04 16:23:47 2010 +0000
+++ b/external/bsd/ntp/Makefile.inc     Sat Sep 04 17:06:06 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.3 2010/08/29 18:55:50 kardel Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2010/09/04 17:06:06 kardel Exp $
 
 .if !defined(NTP_MAKEFILE_INC)
 NTP_MAKEFILE_INC=yes
@@ -57,7 +57,9 @@
 .endif
 
 .if ("${MKINET6}" != "no")
-CPPFLAGS+=-DWANT_IPV6 
+CPPFLAGS+=-DWANT_IPV6
+.else
+CPPFLAGS+=-DISC_PLATFORM_NEEDIN6ADDRANY
 .endif
 
 .if exists(${.CURDIR}/../../Makefile.inc)



Home | Main Index | Thread Index | Old Index