summaryrefslogtreecommitdiff
path: root/net/irrtoolset5
diff options
context:
space:
mode:
authorspz <spz>2010-01-31 21:49:16 +0000
committerspz <spz>2010-01-31 21:49:16 +0000
commitf661d59ca060b1b66d519e6b5d229cc0f6e5b34e (patch)
tree68eceb64ae1aff4689bca1646ca91a4b2ab6cec4 /net/irrtoolset5
parentdae4faecb47952b295a8a7a3fb674d944754c9ae (diff)
downloadpkgsrc-f661d59ca060b1b66d519e6b5d229cc0f6e5b34e.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/Makefile13
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"