summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2002-08-21 02:43:44 +0000
committergrant <grant>2002-08-21 02:43:44 +0000
commit0ea33c969a629b1ecd9ac3172a0a9043b70791c2 (patch)
treeddc8b0a52d3c8d0a0a20293b67556dd0432d6554
parent856717cf3f0a35ce409782a9d678d7d9f8f25d61 (diff)
downloadpkgsrc-0ea33c969a629b1ecd9ac3172a0a9043b70791c2.tar.gz
check that USE_INET6 is defined.
remove extraneous parenthesis around .if (${FOO} ..) conditions.
-rw-r--r--audio/mpg123-nas/Makefile10
-rw-r--r--devel/cvs/Makefile6
-rw-r--r--inputmethod/canna-dict/Makefile4
-rw-r--r--inputmethod/canna-lib/Makefile4
-rw-r--r--mail/cue/Makefile4
-rw-r--r--www/bozohttpd/Makefile4
-rw-r--r--www/wwwoffle/Makefile4
7 files changed, 18 insertions, 18 deletions
diff --git a/audio/mpg123-nas/Makefile b/audio/mpg123-nas/Makefile
index 073642d0c64..95ebf230830 100644
--- a/audio/mpg123-nas/Makefile
+++ b/audio/mpg123-nas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/05/25 06:28:00 rh Exp $
+# $NetBSD: Makefile,v 1.2 2002/08/21 02:43:44 grant Exp $
#
DISTNAME= mpg123-0.59r
@@ -27,15 +27,15 @@ USE_BUILDLINK_ONLY= # defined
# for OBJECT_FMT
.include "../../mk/bsd.prefs.mk"
-.if (${MACHINE_ARCH} == "i386")
-.if (${OBJECT_FMT} == "ELF")
+.if ${MACHINE_ARCH} == "i386"
+.if ${OBJECT_FMT} == "ELF"
ALL_TARGET= netbsd-i386-elf
.else
ALL_TARGET= netbsd-i386
.endif
-.elif (${MACHINE_ARCH} == "arm32")
+.elif ${MACHINE_ARCH} == "arm32"
ALL_TARGET= netbsd-arm32
-.elif (${MACHINE_ARCH} == "m68k")
+.elif ${MACHINE_ARCH} == "m68k"
ALL_TARGET= netbsd-m68k
.else
ALL_TARGET= ${LOWER_OPSYS}
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index aac2ebc0dfe..8e280a30b59 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2002/08/01 02:37:44 jschauma Exp $
+# $NetBSD: Makefile,v 1.51 2002/08/21 02:43:44 grant Exp $
#
DISTNAME= cvs-1.11
@@ -18,12 +18,12 @@ GNU_CONFIGURE= yes
BUILD_DEFS+= USE_INET6
USE_BUILDLINK_ONLY= yes
-.if (${OPSYS} == "NetBSD")
+.if ${OPSYS} == "NetBSD"
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCHFILES= cvs-1.11-v6-20020111.diff.gz
PATCH_DIST_STRIP= -p1
-.if ${USE_INET6} == "YES"
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
diff --git a/inputmethod/canna-dict/Makefile b/inputmethod/canna-dict/Makefile
index 6ef2c2a0a24..d0534567c96 100644
--- a/inputmethod/canna-dict/Makefile
+++ b/inputmethod/canna-dict/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/06/10 09:05:09 sakamoto Exp $
+# $NetBSD: Makefile,v 1.2 2002/08/21 02:43:45 grant Exp $
DISTNAME= Canna35b2
PKGNAME= Canna-dict-3.5.2
@@ -27,7 +27,7 @@ BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
NO_MTREE= yes
LOCALBASE= ${IMDICTDIR}
-.if 0 # ${USE_INET6} == "YES"
+.if 0 # defined(USE_INET6) && ${USE_INET6} == "YES"
INET6= -DINET6
.else
INET6= # empty
diff --git a/inputmethod/canna-lib/Makefile b/inputmethod/canna-lib/Makefile
index 85e00a752d2..6034561fd95 100644
--- a/inputmethod/canna-lib/Makefile
+++ b/inputmethod/canna-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/06/10 09:47:26 sakamoto Exp $
+# $NetBSD: Makefile,v 1.3 2002/08/21 02:43:45 grant Exp $
#
DISTNAME= Canna35b2
@@ -21,7 +21,7 @@ INSTALL_TARGET= install install.man
BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
-.if 0 # ${USE_INET6} == "YES"
+.if 0 # defined(USE_INET6) && ${USE_INET6} == "YES"
INET6= -DINET6
.else
INET6= # empty
diff --git a/mail/cue/Makefile b/mail/cue/Makefile
index 2d942c20a78..65f1baa3e66 100644
--- a/mail/cue/Makefile
+++ b/mail/cue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/06/17 11:22:18 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2002/08/21 02:43:45 grant Exp $
DISTNAME= cue-snap-20010917
PKGNAME= cue-20010917
@@ -15,7 +15,7 @@ GNU_CONFIGURE= yes
BUILD_DEFS+= USE_INET6
-.if ${USE_INET6} == "YES"
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile
index 76a47530cd2..cabaca38364 100644
--- a/www/bozohttpd/Makefile
+++ b/www/bozohttpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/08/05 16:37:49 mrg Exp $
+# $NetBSD: Makefile,v 1.21 2002/08/21 02:43:45 grant Exp $
#
DISTNAME= bozohttpd-5.13
@@ -19,7 +19,7 @@ MAKE_ENV+= BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man
.include "../../mk/bsd.prefs.mk"
-.if defined(USE_INET6) && (${USE_INET6} == "YES")
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
CPPFLAGS+= -DINET6
.endif
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 5a9056f46c5..86428e3fe91 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2002/08/19 22:03:04 fredb Exp $
+# $NetBSD: Makefile,v 1.43 2002/08/21 02:43:45 grant Exp $
DISTNAME= wwwoffle-2.7d
CATEGORIES= www
@@ -77,7 +77,7 @@ finish:
.include "../../mk/bsd.prefs.mk"
-.if ${USE_INET6} == "YES"
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+= --with-ipv6
.endif