Use GNU make on Linux because imake generates Makefile that requires

GNU make.
This commit is contained in:
minskim 2004-12-30 00:04:56 +00:00
parent 568e3cec75
commit 2ecbd51e17

View file

@ -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}|' \