summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.subdir.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-15 20:55:38 +0000
committerjlam <jlam@pkgsrc.org>2003-01-15 20:55:38 +0000
commit63029a767b2258c5e70f71a95766fd682b45ff11 (patch)
tree67586206e121ed2b712b9edffb53000a2d7e5b20 /mk/bsd.pkg.subdir.mk
parent33b8582279da9a692062efb4cd2ac5b871425c0b (diff)
downloadpkgsrc-63029a767b2258c5e70f71a95766fd682b45ff11.tar.gz
Make BUILD_DIR always point to a physical path by invoking /bin/pwd instead
of relying on the shell's builtin pwd. This makes BUILD_DIR consistently point to the correct directory regardless of the definition of SHELL. This fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is derived from BUILD_DIR and some paths were incorrectly being translated.
Diffstat (limited to 'mk/bsd.pkg.subdir.mk')
-rw-r--r--mk/bsd.pkg.subdir.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk
index 319e3e047b0..fcc09d29c95 100644
--- a/mk/bsd.pkg.subdir.mk
+++ b/mk/bsd.pkg.subdir.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.subdir.mk,v 1.50 2003/01/05 13:37:16 dmcmahill Exp $
+# $NetBSD: bsd.pkg.subdir.mk,v 1.51 2003/01/15 20:55:39 jlam Exp $
# Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
#
@@ -212,7 +212,7 @@ fetch-list:
@${ECHO} '#!/bin/sh'
@${ECHO} '#'
@${ECHO} '# This is an auto-generated script, the result of running'
- @${ECHO} '# `make fetch-list'"'"' in directory "'"`pwd`"'"'
+ @${ECHO} '# `make fetch-list'"'"' in directory "'"`${PWD_CMD}`"'"'
@${ECHO} '# on host "'"`${UNAME} -n`"'" on "'"`date`"'".'
@${ECHO} '#'
.if defined(PKGSRCTOP) && !defined(SPECIFIC_PKGS)