pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/nbitools Use GNU make on Linux because imake gen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f1a6ff64f03
branches:  trunk
changeset: 486578:0f1a6ff64f03
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Dec 30 00:04:56 2004 +0000

description:
Use GNU make on Linux because imake generates Makefile that requires
GNU make.

diffstat:

 devel/nbitools/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r abc1330ea650 -r 0f1a6ff64f03 devel/nbitools/Makefile
--- a/devel/nbitools/Makefile   Wed Dec 29 23:20:35 2004 +0000
+++ b/devel/nbitools/Makefile   Thu Dec 30 00:04:56 2004 +0000
@@ -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 @@
 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}|' \



Home | Main Index | Thread Index | Old Index