diff options
author | wiz <wiz> | 2003-08-23 23:07:12 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-08-23 23:07:12 +0000 |
commit | 3ec1240e64f671b935efa3f828e684766ba228a1 (patch) | |
tree | 5c262dbf9d5c94d5ce265517b00bb549896f9097 /graphics/netpbm | |
parent | 3e3f30d20b7271d84cb93cbfb6342c9a99ad7ba1 (diff) | |
download | pkgsrc-3ec1240e64f671b935efa3f828e684766ba228a1.tar.gz |
On Linux systems without flex, build_depend on flex. From Soren Jacobsen in PR 22541.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index d13b17cfbe4..6c4d013bd1a 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.76 2003/07/21 16:51:48 martti Exp $ +# $NetBSD: Makefile,v 1.77 2003/08/23 23:07:12 wiz Exp $ DISTNAME= netpbm-10.11.8 CATEGORIES= graphics @@ -36,6 +36,10 @@ BUILD_DEPENDS+= flex>=2.5.4:../../devel/flex MAKE_ENV+= NETWORKLD="" .endif +.if ${OPSYS} == Linux && !exists(/usr/bin/flex) +BUILD_DEPENDS+= flex>=2.5.4:../../devel/flex +.endif + pre-configure: ${CP} ${WRKSRC}/Makefile.config.in ${WRKSRC}/Makefile.config |