diff options
author | reed <reed> | 2003-10-08 22:40:42 +0000 |
---|---|---|
committer | reed <reed> | 2003-10-08 22:40:42 +0000 |
commit | 699daa101b740c41bf64afd0475268c0c8196030 (patch) | |
tree | 61e4af4eef9e5afc55ea33b00256049473a0474c /print/gimp-print-lib | |
parent | c390c8c92ff569ed422322acd6bb0ac91e02f47d (diff) | |
download | pkgsrc-699daa101b740c41bf64afd0475268c0c8196030.tar.gz |
Needs a LEX to build.
Hopefully later tools.mk will be extended to do this, but for now this works.
(It may be a good idea to check if ${LEX} exists too.)
This closes my PR #20920.
Diffstat (limited to 'print/gimp-print-lib')
-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 |