From 587719f3565eddfd4a6efe0596d921665f71ef02 Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 8 Oct 2003 22:40:42 +0000 Subject: 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. --- print/gimp-print-lib/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'print') 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 -- cgit v1.2.3