summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2004-12-30 00:04:56 +0000
committerminskim <minskim>2004-12-30 00:04:56 +0000
commit598baa21af9c750ffb1ee30c92272c13bdeb818c (patch)
tree715f0b76319ef90826961ce0e2371aae8740f2d7
parentced4b71dd5a3f98265817697095b3d14b9d02e89 (diff)
downloadpkgsrc-598baa21af9c750ffb1ee30c92272c13bdeb818c.tar.gz
Use GNU make on Linux because imake generates Makefile that requires
GNU make.
-rw-r--r--devel/nbitools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/nbitools/Makefile b/devel/nbitools/Makefile
index 6e6af1d4d9e..579480e25bc 100644
--- a/devel/nbitools/Makefile
+++ b/devel/nbitools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/12/03 15:14:54 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/12/30 00:04:56 minskim Exp $
#
DISTNAME= nbitools-R6.3
@@ -18,6 +18,12 @@ USE_BUILDLINK3= yes
BUILD_TARGET= World
MAKE_ENV+= GCCCMD=gcc
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+USE_GNU_TOOLS+= make
+.endif
+
post-patch:
@${MV} ${WRKSRC}/config/cf/site.def ${WRKSRC}/config/cf/site.def.orig
@${SED} -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|' \