summaryrefslogtreecommitdiff
path: root/net/irrtoolset5
diff options
context:
space:
mode:
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"