summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-12 09:59:48 +0000
committerjlam <jlam@pkgsrc.org>2004-02-12 09:59:48 +0000
commit5a33ba7f62a1d39741725e3a3ff08f70cbc5fe3c (patch)
tree9a82e7590fa299851798e68a4797ea202475bef2 /mk
parent75fc2feb00362e2b1bba59b14a308666f61e0c70 (diff)
downloadpkgsrc-5a33ba7f62a1d39741725e3a3ff08f70cbc5fe3c.tar.gz
Several GNU configure scripts (old ones, typically) can't handle it when
"${MAKE}" contains forward slashes. Just pass the bare name of ${MAKE} to the configure phase as we ensure that "make" is always calling the correct one symlinked into the .tools directory.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 60fd921e248..93689e5d1ee 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1387 2004/02/12 08:55:34 seb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1388 2004/02/12 09:59:48 jlam Exp $
#
# This file is in the public domain.
#
@@ -239,7 +239,7 @@ MAKE_PROGRAM= ${_IMAKE_MAKE}
.else
MAKE_PROGRAM= ${MAKE}
.endif
-CONFIGURE_ENV+= MAKE="${MAKE_PROGRAM}"
+CONFIGURE_ENV+= MAKE="${MAKE_PROGRAM:T}"
.if defined(PKG_USE_KERBEROS)
CRYPTO?= uses Kerberos encryption code