summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-15 20:55:38 +0000
committerjlam <jlam>2003-01-15 20:55:38 +0000
commit6e8b2848ec9e3fa3541564f030bf384c594ee14e (patch)
tree67586206e121ed2b712b9edffb53000a2d7e5b20 /mk/defs.SunOS.mk
parent89e154409195243793eb1472a39b251aa0aad213 (diff)
downloadpkgsrc-6e8b2848ec9e3fa3541564f030bf384c594ee14e.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/defs.SunOS.mk')
-rw-r--r--mk/defs.SunOS.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index 667c5e44b30..b8ac41acf44 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.51 2003/01/10 08:44:20 jlam Exp $
+# $NetBSD: defs.SunOS.mk,v 1.52 2003/01/15 20:55:39 jlam Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -64,6 +64,7 @@ PAX?= /bin/pax
PERL5?= ${LOCALBASE}/bin/perl
PKGLOCALEDIR?= lib
PS?= /bin/ps
+PWD_CMD?= /bin/pwd # needs to print physical path
RM?= /usr/bin/rm
RMDIR?= /usr/bin/rmdir
SED?= /usr/xpg4/bin/sed