summaryrefslogtreecommitdiff
path: root/devel/buildtool
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-09-15 14:49:44 +0000
committerjmmv <jmmv>2003-09-15 14:49:44 +0000
commit3fae872fc5ae75fd3d04913fa0d4df69502e2250 (patch)
tree65fc5bea8d357b6c65c011a7cfb5085e36dd6ed8 /devel/buildtool
parent6f207be8fd74a9a5b56a57c906ed0b0923031dfb (diff)
downloadpkgsrc-3fae872fc5ae75fd3d04913fa0d4df69502e2250.tar.gz
Use GNU m4 under NetBSD 1.5.x to fix some problems *sigh*.
Diffstat (limited to 'devel/buildtool')
-rw-r--r--devel/buildtool/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/buildtool/Makefile b/devel/buildtool/Makefile
index 8bac4fd6dfd..9dc3f9ca11e 100644
--- a/devel/buildtool/Makefile
+++ b/devel/buildtool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/09/05 18:50:32 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2003/09/15 14:49:44 jmmv Exp $
#
DISTNAME= buildtool-0.14
@@ -16,9 +16,15 @@ PKG_SYSCONFSUBDIR= buildtool
CONFIGURE_ARGS= -p ${LOCALBASE}
CONFIGURE_ARGS+= -c ${PKG_SYSCONFDIR}
-CONFIGURE_ENV+= M4="${M4}"
CONFIGURE_ENV+= SH="${SH}"
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.5*)
+DEPENDS+= m4>=1.4nb1:../../devel/m4
+M4= "${GNU_PROGRAM_PREFIX}m4"
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/buildtool-0/pkgflags