diff options
author | spz <spz@pkgsrc.org> | 2010-01-31 21:49:16 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2010-01-31 21:49:16 +0000 |
commit | bdd7af2cdfb6aa6070216a4216272254d78e3dff (patch) | |
tree | 68eceb64ae1aff4689bca1646ca91a4b2ab6cec4 /net/irrtoolset5 | |
parent | 359192b1250843b3b7b12e959a00ee74fcfcafbc (diff) | |
download | pkgsrc-bdd7af2cdfb6aa6070216a4216272254d78e3dff.tar.gz |
Add readline support and depend on pkgsrc flex for netbsd-5 and earlier
Diffstat (limited to 'net/irrtoolset5')
-rw-r--r-- | net/irrtoolset5/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/net/irrtoolset5/Makefile b/net/irrtoolset5/Makefile index 525dcbc2b4d..247c58e9cde 100644 --- a/net/irrtoolset5/Makefile +++ b/net/irrtoolset5/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/01/30 16:14:16 spz Exp $ +# $NetBSD: Makefile,v 1.2 2010/01/31 21:49:16 spz Exp $ # DISTNAME= irrtoolset-5.0.0pre311 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_LOCAL} +PKGREVISION= 1 OWNER= spz@NetBSD.org HOMEPAGE= http://irrtoolset.isc.org/ @@ -12,6 +13,10 @@ LICENSE= no-commercial-use CONFLICTS= IRRToolSet-4.* +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../mk/bsd.prefs.mk" + INSTALLATION_DIRS= ${PKGBINDIR} ${PKGMANDIR}/man1 USE_LIBTOOL= yes @@ -23,6 +28,10 @@ GCC_REQD+= 3.0 CONFIG_GUESS_OVERRIDE= config.guess CONFIG_SUB_OVERRIDE= config.sub -PKG_DESTDIR_SUPPORT=user-destdir +.if !empty(MACHINE_PLATFORM:MNetBSD-[1-4].*) || !empty(MACHINE_PLATFORM:MNetBSD-5\.[0-9][\._]*) +CONFIGURE_ENV+= LEX="${PREFIX}/bin/flex" +.include "../../devel/flex/buildlink3.mk" +.endif +.include "../../devel/readline/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |