pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/gimp-print-lib Needs a LEX to build.
details: https://anonhg.NetBSD.org/pkgsrc/rev/938cceee5156
branches: trunk
changeset: 462686:938cceee5156
user: reed <reed%pkgsrc.org@localhost>
date: Wed Oct 08 22:40:42 2003 +0000
description:
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:
print/gimp-print-lib/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 7de920f74efe -r 938cceee5156 print/gimp-print-lib/Makefile
--- a/print/gimp-print-lib/Makefile Wed Oct 08 22:13:48 2003 +0000
+++ b/print/gimp-print-lib/Makefile Wed Oct 08 22:40:42 2003 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index