diff options
-rw-r--r-- | print/gimp-print-lib/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/print/gimp-print-lib/Makefile b/print/gimp-print-lib/Makefile index 017ec224199..017e412477a 100644 --- a/print/gimp-print-lib/Makefile +++ b/print/gimp-print-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/08/09 11:20:36 seb Exp $ +# $NetBSD: Makefile,v 1.18 2003/10/08 22:40:42 reed Exp $ # DISTNAME= gimp-print-4.2.5 @@ -11,6 +11,11 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://gimp-print.sourceforge.net/ COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers +.if !exists(/usr/bin/flex) && !exists(/usr/bin/lex) +BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex +LEX= ${LOCALBASE}/bin/flex +.endif + USE_BUILDLINK2= yes USE_GMAKE= yes USE_PKGLOCALEDIR= yes |