diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-15 20:55:38 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-15 20:55:38 +0000 |
commit | 63029a767b2258c5e70f71a95766fd682b45ff11 (patch) | |
tree | 67586206e121ed2b712b9edffb53000a2d7e5b20 /mk/defs.Linux.mk | |
parent | 33b8582279da9a692062efb4cd2ac5b871425c0b (diff) | |
download | pkgsrc-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/defs.Linux.mk')
-rw-r--r-- | mk/defs.Linux.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 004e2d8549a..645850f6dd7 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.43 2003/01/10 08:44:20 jlam Exp $ +# $NetBSD: defs.Linux.mk,v 1.44 2003/01/15 20:55:39 jlam Exp $ # # Variable definitions for the Linux operating system. @@ -42,6 +42,7 @@ PAX?= ${ZOULARISBASE}/bin/pax PERL5?= ${LOCALBASE}/bin/perl PKGLOCALEDIR?= share PS?= /bin/ps +PWD_CMD?= /bin/pwd # needs to print physical path RM?= /bin/rm RMDIR?= /bin/rmdir SED?= /bin/sed |