summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authortron <tron>2004-01-26 09:54:43 +0000
committertron <tron>2004-01-26 09:54:43 +0000
commit964ea84f4a7f35a3be92882830cc6f8da2024fc1 (patch)
tree864269ed8b65e4016311a4e85353f50f9cf620c1 /graphics/netpbm
parent0288252ce81c6c7392de81ab2a54644d80da7baf (diff)
downloadpkgsrc-964ea84f4a7f35a3be92882830cc6f8da2024fc1.tar.gz
Unify "flex" build dependence handling.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index e59527fa9a6..20532478a0d 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2004/01/26 07:03:15 tron Exp $
+# $NetBSD: Makefile,v 1.89 2004/01/26 09:54:43 tron Exp $
DISTNAME= netpbm-10.11.8
PKGREVISION= 1
@@ -31,14 +31,14 @@ STAGEDIR= ${WRKDIR}/staging
GCC_REQD= 2.95.3
.endif
-.if (${OPSYS} == SunOS)
+.if ${OPSYS} == SunOS
MAKE_ENV+= NETWORKLD="-lsocket -lnsl"
-BUILD_DEPENDS+= flex>=2.5.4:../../devel/flex
.else
MAKE_ENV+= NETWORKLD=""
.endif
-.if (${OPSYS} == Linux && !exists(/usr/bin/flex)) || (${OPSYS} == "IRIX")
+.if (${OPSYS} == SunOS) || (${OPSYS} == IRIX) || \
+ (${OPSYS} == Linux && !exists(/usr/bin/flex))
BUILD_DEPENDS+= flex>=2.5.4:../../devel/flex
.endif