diff options
author | asau <asau@pkgsrc.org> | 2012-06-10 12:44:27 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2012-06-10 12:44:27 +0000 |
commit | 36ebd8110db5bf650483f37ecb85bcdf6fbf47a0 (patch) | |
tree | e78851495cebbb06975dca0285c1714877e9a6cb /devel | |
parent | 116b9c042db2245b603652e1a07b72ce20e032f3 (diff) | |
download | pkgsrc-36ebd8110db5bf650483f37ecb85bcdf6fbf47a0.tar.gz |
Use configure framework and separate configure and build steps as usually.
From GSoC 2011 project by Stathis Kamperis.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/bmake/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile index b566e4fdcec..eb16c29eca4 100644 --- a/devel/bmake/Makefile +++ b/devel/bmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2011/06/18 22:43:34 bsiegert Exp $ +# $NetBSD: Makefile,v 1.56 2012/06/10 12:44:27 asau Exp $ # DISTNAME= bmake-20110606 @@ -27,34 +27,33 @@ makesyspath= ${PREFIX}/share/mk INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 -BOOTSTRAP_ARGS= -q -o ${OPSYS} --prefix=${PREFIX} \ - --with-default-sys-path=${makesyspath} \ - --mksrc none --sysconfdir=${PKG_SYSCONFDIR:Q} +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --with-default-sys-path=${makesyspath} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" DEPENDS+= pdksh-[0-9]*:../../shells/pdksh -BOOTSTRAP_ARGS+= --with-defshell=${PREFIX}/bin/pdksh +CONFIGURE_ARGS+= --with-defshell=${PREFIX}/bin/pdksh .endif .if ${OPSYS} == "Interix" MAKE_ENV+= XDEFS=-DUSE_SELECT .endif .if ${OPSYS} == "IRIX" -BOOTSTRAP_ARGS+= --with-machine_arch=${MACHINE_ARCH} +CONFIGURE_ARGS+= --with-machine_arch=${MACHINE_ARCH} .endif do-extract: ${CP} -R ${FILESDIR} ${WRKSRC} -do-configure: - do-build: - cd ${WRKDIR} && \ - ${SETENV} ${MAKE_ENV} ${SH} ./bmake/boot-strap ${BOOTSTRAP_ARGS} + cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${SH} make-bootstrap.sh do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bmake ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |