diff options
author | grant <grant@pkgsrc.org> | 2004-02-13 10:53:09 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-02-13 10:53:09 +0000 |
commit | 6de22c759c0dcba6e56d2c36667cc41c1c44970a (patch) | |
tree | c25894f4531c5266616618c0234d975ab160960f /graphics/netpbm | |
parent | b730ed2f465e45ac3fbe1702e3931e524d8164c4 (diff) | |
download | pkgsrc-6de22c759c0dcba6e56d2c36667cc41c1c44970a.tar.gz |
USE_GNU_TOOLS+=lex instead of .if OPSYS || OPSYS .. and simplify
passing the socket libraries on Solaris.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index f22df7763dc..fb1a49bfbe3 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.90 2004/02/01 01:43:29 jlam Exp $ +# $NetBSD: Makefile,v 1.91 2004/02/13 10:53:09 grant Exp $ DISTNAME= netpbm-10.11.8 PKGREVISION= 1 @@ -13,7 +13,7 @@ COMMENT= Toolkit for conversion of images between different formats PKG_INSTALLATION_TYPES= overwrite pkgviews USE_BUILDLINK3= yes -USE_GNU_TOOLS+= make +USE_GNU_TOOLS+= lex make USE_PERL5= yes INSTALL_TARGET= install-dev install-run @@ -25,23 +25,15 @@ REPLACE_PERL= editor/ppmfade editor/ppmshadow editor/pnmquant \ generator/ppmrainbow manweb STAGEDIR= ${WRKDIR}/staging +LIBS.SunOS= -lsocket -lnsl +MAKE_ENV+= NETWORKLD="${LIBS}" + .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" GCC_REQD+= 2.95.3 .endif -.if ${OPSYS} == SunOS -MAKE_ENV+= NETWORKLD="-lsocket -lnsl" -.else -MAKE_ENV+= NETWORKLD="" -.endif - -.if (${OPSYS} == SunOS) || (${OPSYS} == IRIX) || \ - (${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 |