summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-01-26 09:54:43 +0000
committertron <tron@pkgsrc.org>2004-01-26 09:54:43 +0000
commit03742b48cf2b2e8b87c2ede99b965e1d799c8fa1 (patch)
tree864269ed8b65e4016311a4e85353f50f9cf620c1 /graphics
parentee5ff7b6225cbe1a01131353d7644f8ef570f862 (diff)
downloadpkgsrc-03742b48cf2b2e8b87c2ede99b965e1d799c8fa1.tar.gz
Unify "flex" build dependence handling.
Diffstat (limited to 'graphics')
-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