diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-06-15 21:38:01 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-06-15 21:38:01 +0000 |
commit | cb5dbb4edace58d80f7e2ebc40d0374ad4bfdc35 (patch) | |
tree | 4499e1d506f9ef760127e19a3fbc555da0ba5d3b /pkgtools | |
parent | 5e60bfbbcc550910f15c77bb5b9194f9cd1a9468 (diff) | |
download | pkgsrc-cb5dbb4edace58d80f7e2ebc40d0374ad4bfdc35.tar.gz |
Some old configure scripts don't understand --version and may nuke
our just-generated Makefile. prevent this by cd'ing into $WRKSRC.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/url2pkg/files/url2pkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg index ef842174589..866b139a410 100755 --- a/pkgtools/url2pkg/files/url2pkg +++ b/pkgtools/url2pkg/files/url2pkg @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: url2pkg,v 1.9 2000/04/03 12:52:28 hubertf Exp $ +# $NetBSD: url2pkg,v 1.10 2000/06/15 21:38:01 hubertf Exp $ # # url2pkg # (c) 1999 Hubert Feyrer @@ -97,7 +97,7 @@ fi configure=`echo w*`/$wrksrc/configure echo checking $configure XXX if [ -f $configure ]; then - if expr 2>&1 >/dev/null "`$configure --version`" \ + if expr 2>&1 >/dev/null "`cd w*/$wrksrc ; $configure --version`" \ : 'configure generated by autoconf version.*' ; then GNU_CONFIGURE=YES else |