pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Unify "flex" build dependence handling.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/790153daf090
branches:  trunk
changeset: 467058:790153daf090
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Jan 26 09:54:43 2004 +0000

description:
Unify "flex" build dependence handling.

diffstat:

 graphics/netpbm/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 077951827b5f -r 790153daf090 graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Mon Jan 26 07:03:15 2004 +0000
+++ b/graphics/netpbm/Makefile  Mon Jan 26 09:54:43 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2004/01/26 07:03:15 tron Exp $
+# $NetBSD: Makefile,v 1.89 2004/01/26 09:54:43 tron Exp $
 
 DISTNAME=      netpbm-10.11.8
 PKGREVISION=   1
@@ -31,14 +31,14 @@
 GCC_REQD=              2.95.3
 .endif
 
-.if (${OPSYS} == SunOS)
+.if ${OPSYS} == SunOS
 MAKE_ENV+=     NETWORKLD="-lsocket -lnsl"
-BUILD_DEPENDS+=        flex>=2.5.4:../../devel/flex
 .else
 MAKE_ENV+=     NETWORKLD=""
 .endif
 
-.if (${OPSYS} == Linux && !exists(/usr/bin/flex)) || (${OPSYS} == "IRIX")
+.if (${OPSYS} == SunOS) || (${OPSYS} == IRIX) || \
+    (${OPSYS} == Linux && !exists(/usr/bin/flex))
 BUILD_DEPENDS+=        flex>=2.5.4:../../devel/flex
 .endif
 



Home | Main Index | Thread Index | Old Index