summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2003-10-08 22:40:42 +0000
committerreed <reed@pkgsrc.org>2003-10-08 22:40:42 +0000
commit587719f3565eddfd4a6efe0596d921665f71ef02 (patch)
tree61e4af4eef9e5afc55ea33b00256049473a0474c /print
parente6c78baa5797b0689c7d16c1798733ea07f77416 (diff)
downloadpkgsrc-587719f3565eddfd4a6efe0596d921665f71ef02.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')
-rw-r--r--print/gimp-print-lib/Makefile7
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