diff options
Diffstat (limited to 'graphics/netpbm/Makefile')
-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 |