diff options
author | jlam <jlam> | 2003-01-15 20:55:38 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-15 20:55:38 +0000 |
commit | b8da8b24cd000c1b9bfda1bf3ea0579866b75dd8 (patch) | |
tree | 67586206e121ed2b712b9edffb53000a2d7e5b20 /mk/defs.FreeBSD.mk | |
parent | 28ba019768408e6b306a901c9c1ede2e148e7078 (diff) | |
download | pkgsrc-b8da8b24cd000c1b9bfda1bf3ea0579866b75dd8.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.FreeBSD.mk')
-rw-r--r-- | mk/defs.FreeBSD.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/defs.FreeBSD.mk b/mk/defs.FreeBSD.mk index c55ecd03390..7740c4010ea 100644 --- a/mk/defs.FreeBSD.mk +++ b/mk/defs.FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.FreeBSD.mk,v 1.14 2003/01/10 08:44:20 jlam Exp $ +# $NetBSD: defs.FreeBSD.mk,v 1.15 2003/01/15 20:55:39 jlam Exp $ # # Variable definitions for the FreeBSD operating system. @@ -46,6 +46,7 @@ PAX?= /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?= /usr/bin/sed |