diff options
author | taca <taca> | 2002-12-15 01:15:24 +0000 |
---|---|---|
committer | taca <taca> | 2002-12-15 01:15:24 +0000 |
commit | 1cee14f1e97a1e0dce1a1de3134eb3b46d8dca5b (patch) | |
tree | bc21e34adee9af39c9e9f938607242b666b3849e /mk/bsd.prefs.mk | |
parent | f4a05aacf33fb7791b23c3983e255eb96f8eea8d (diff) | |
download | pkgsrc-1cee14f1e97a1e0dce1a1de3134eb3b46d8dca5b.tar.gz |
Previous commit breaks pkgsrc on NetBSD current since OS_VERSION isn't
pure numeric value "1.6K".
So, sperate ".if" directive comparing OS_VERSION into two ".if" directives.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 076c9d5721e..49fd9b3d271 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.95 2002/12/15 00:40:29 schmonz Exp $ +# $NetBSD: bsd.prefs.mk,v 1.96 2002/12/15 01:15:24 taca Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -199,8 +199,10 @@ SHAREMODE?= ${DOCMODE} USE_INET6?= YES .elif ${OPSYS} == "SunOS" && exists(/usr/include/netinet/ip6.h) USE_INET6?= YES -.elif ${OPSYS} == "Darwin" && ${OS_VERSION} < 6.0 +.elif ${OPSYS} == "Darwin" +. if ${OS_VERSION} < 6.0 USE_INET6?= NO +. endif # other KAME .elif exists(/usr/include/netinet6) USE_INET6?= YES |