diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-26 20:15:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-26 20:15:23 +0000 |
commit | 9fbdc941fea7d21de5d5b90812f86cfcc394704e (patch) | |
tree | 8b1c3bab1e6dabee92b179dc0fdf2dc62269e99a /mk/defs.Linux.mk | |
parent | 4826d368a2175f7a2e4026e3ee433f5c184ee2a4 (diff) | |
download | pkgsrc-9fbdc941fea7d21de5d5b90812f86cfcc394704e.tar.gz |
Create a symlink from the "make" requested by the package into
${TOOLS_DIR}/bin/make. If a package wants GNU make, then it should
set:
USE_GNU_TOOLS+= make
in the package Makefile. Allow for USE_GMAKE to continue to work
until we get a chance to sweep through pkgsrc and remove the usage
of this now-redundant variable.
This change allows us to avoid patching makefiles that use a bare
"make" command to invoke sub-make processes. Idea suggested by
salo@netbsd.org in pkg/22509.
Diffstat (limited to 'mk/defs.Linux.mk')
-rw-r--r-- | mk/defs.Linux.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index d5dc3ffec72..d85f1d0fb96 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.55 2003/08/25 15:47:15 reed Exp $ +# $NetBSD: defs.Linux.mk,v 1.56 2003/08/26 20:15:26 jlam Exp $ # # Variable definitions for the Linux operating system. @@ -39,10 +39,9 @@ FILE_CMD?= /usr/bin/file FIND?= /usr/bin/find .if exists(/usr/bin/make) GMAKE?= /usr/bin/make -_OPSYS_HAS_GMAKE= yes # GNU make is standard +_TOOLS_OPSYS_HAS_GNU.make+= ${MACHINE_PLATFORM} .else GMAKE?= ${LOCALBASE}/bin/gmake -_OPSYS_HAS_GMAKE= no # rare, but possible .endif .if exists(/bin/grep) GREP?= /bin/grep |