pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/netpbm On Linux systems without flex, build_d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/154757901948
branches:  trunk
changeset: 460187:154757901948
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 23 23:07:12 2003 +0000

description:
On Linux systems without flex, build_depend on flex. From Soren Jacobsen in PR 22541.

diffstat:

 graphics/netpbm/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 20150b1ee2a0 -r 154757901948 graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Sat Aug 23 22:55:34 2003 +0000
+++ b/graphics/netpbm/Makefile  Sat Aug 23 23:07:12 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2003/07/21 16:51:48 martti Exp $
+# $NetBSD: Makefile,v 1.77 2003/08/23 23:07:12 wiz Exp $
 
 DISTNAME=      netpbm-10.11.8
 CATEGORIES=    graphics
@@ -36,6 +36,10 @@
 MAKE_ENV+=     NETWORKLD=""
 .endif
 
+.if ${OPSYS} == Linux && !exists(/usr/bin/flex)                                                                                  
+BUILD_DEPENDS+=        flex>=2.5.4:../../devel/flex                                                                              
+.endif
+
 pre-configure:
        ${CP} ${WRKSRC}/Makefile.config.in ${WRKSRC}/Makefile.config
 



Home | Main Index | Thread Index | Old Index