summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-03-27 08:43:05 +0000
committertron <tron@pkgsrc.org>2000-03-27 08:43:05 +0000
commit0cc9b5c48ea19526283bb8f52618044b9a9693f3 (patch)
treee330d22d2b94b0b0fda91d0dc29f2f331669aead
parent072659e4567c1261f66fdcef644e880f65e598fa (diff)
downloadpkgsrc-0cc9b5c48ea19526283bb8f52618044b9a9693f3.tar.gz
Don't invoke "${CONFIGURE_SCRIPT}" with leading "./" so that an absolute
pathname will work properly.
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 52d91b1183f..2b6a1a566f0 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.420 2000/03/26 08:11:21 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.421 2000/03/27 08:43:05 tron Exp $
#
# This file is in the public domain.
#
@@ -819,7 +819,7 @@ PKGREPOSITORYSUBDIR?= All
PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR}
PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
-CONFIGURE_SCRIPT?= configure
+CONFIGURE_SCRIPT?= ./configure
CONFIGURE_ENV+= PATH=${PATH}:${LOCALBASE}/bin:${X11BASE}/bin
.if defined(GNU_CONFIGURE)
@@ -1245,7 +1245,7 @@ do-configure:
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
+ ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
.endif
.if defined(USE_IMAKE)
${_PKG_SILENT}(${_PKG_DEBUG}cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} XPROJECTROOT=${X11BASE} ${XMKMF})