diff options
author | wiz <wiz@pkgsrc.org> | 2003-08-23 23:07:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-08-23 23:07:12 +0000 |
commit | 47c5a535f3f7693bccf43da55b7044afd8912a39 (patch) | |
tree | 5c262dbf9d5c94d5ce265517b00bb549896f9097 /graphics | |
parent | 52049ab0e1273c5e5789c20e83f01b5c267e1266 (diff) | |
download | pkgsrc-47c5a535f3f7693bccf43da55b7044afd8912a39.tar.gz |
On Linux systems without flex, build_depend on flex. From Soren Jacobsen in PR 22541.
Diffstat (limited to 'graphics')
-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 |