Add readline support and depend on pkgsrc flex for netbsd-5 and earlier
This commit is contained in:
parent
ac7aa0dabc
commit
6d0d0c2ffb
1 changed files with 11 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue