diff options
author | tron <tron@pkgsrc.org> | 2004-01-26 09:54:43 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-01-26 09:54:43 +0000 |
commit | 03742b48cf2b2e8b87c2ede99b965e1d799c8fa1 (patch) | |
tree | 864269ed8b65e4016311a4e85353f50f9cf620c1 /graphics/netpbm | |
parent | ee5ff7b6225cbe1a01131353d7644f8ef570f862 (diff) | |
download | pkgsrc-03742b48cf2b2e8b87c2ede99b965e1d799c8fa1.tar.gz |
Unify "flex" build dependence handling.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 8 |
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 |