From f661d59ca060b1b66d519e6b5d229cc0f6e5b34e Mon Sep 17 00:00:00 2001 From: spz Date: Sun, 31 Jan 2010 21:49:16 +0000 Subject: Add readline support and depend on pkgsrc flex for netbsd-5 and earlier --- net/irrtoolset5/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'net/irrtoolset5') 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" -- cgit v1.2.3