diff options
author | yyamano <yyamano> | 2002-03-07 15:45:13 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2002-03-07 15:45:13 +0000 |
commit | a0d43667c8fa5671ecd6cf60f638778e2edacc42 (patch) | |
tree | 174e3e054578f44552b5645fd0ca782e97cab598 | |
parent | 05c7ddb610f457909885ab9c06a9d20e79ff4d16 (diff) | |
download | pkgsrc-a0d43667c8fa5671ecd6cf60f638778e2edacc42.tar.gz |
Make fetch-list work on Darwin.
* Use ${MAKE}. On Darwin, we use bmake, not make.
* Replace PWD with WD. Darwin's sh is zsh and we can't override PWD.
-rw-r--r-- | mk/bsd.pkg.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3e9efbf8b4a..b86039f9474 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.942 2002/03/06 11:37:28 fredb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.943 2002/03/07 15:45:13 yyamano Exp $ # # This file is in the public domain. # @@ -1325,9 +1325,9 @@ show-depends-dirs: do \ if [ "X$$reldir" = "X" ]; then continue; fi ;\ cd $$thisdir/$$reldir ;\ - PWD=`pwd` ;\ - d=`dirname $$PWD` ;\ - absdir=`basename $$d`/`basename $$PWD` ;\ + WD=`pwd` ;\ + d=`dirname $$WD` ;\ + absdir=`basename $$d`/`basename $$WD` ;\ dlist="$$dlist $$absdir";\ done ;\ cd $$thisdir ;\ @@ -1348,7 +1348,7 @@ show-depends-dirs: # _RECURSE_DEPENDS_DIRS= \ function append_dirs(dir) { \ - command = "cd ../../" dir " && make show-depends-dirs"; \ + command = "cd ../../" dir " && ${MAKE} show-depends-dirs"; \ command | getline tmp_dirs; \ close(command); \ if (tmp_dirs ~ /^$$/) \ |