summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-27 04:21:55 +0000
committerjlam <jlam@pkgsrc.org>2004-03-27 04:21:55 +0000
commit10c8c0cce2dc7e26eda15c0032814575885bb369 (patch)
tree06f69eca4aca27becd1b1878fd7cbfcfeb2aa1b8
parent9e789de496cd0b063844e101b1db8bc293a0ade3 (diff)
downloadpkgsrc-10c8c0cce2dc7e26eda15c0032814575885bb369.tar.gz
Check for USE_INET being "YES" or "yes".
-rw-r--r--devel/cvs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index f368b29223f..16562c7f150 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2004/03/04 20:54:40 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2004/03/27 04:21:55 jlam Exp $
#
DISTNAME= cvs-1.11.13
@@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
BUILD_DEFS+= USE_INET6
-.if defined(USE_INET6) && ${USE_INET6} == "YES" && \
+.if defined(USE_INET6) && !empty(USE_INET6:M[yY][eE][sS]) && \
empty(MACHINE_PLATFORM:MSunOS-5.[89]-*) && \
empty(MACHINE_PLATFORM:MLinux-*)
CONFIGURE_ARGS+= --enable-ipv6