diff options
author | tron <tron> | 2004-01-26 09:54:43 +0000 |
---|---|---|
committer | tron <tron> | 2004-01-26 09:54:43 +0000 |
commit | 342f81cbc4e1451302234c13c3573668a32a0b78 (patch) | |
tree | 864269ed8b65e4016311a4e85353f50f9cf620c1 /graphics/netpbm | |
parent | 84d45294b05370fc243a11e314d471465b8ddd68 (diff) | |
download | pkgsrc-342f81cbc4e1451302234c13c3573668a32a0b78.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 |