diff options
author | hubertf <hubertf> | 2000-06-15 21:38:01 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-06-15 21:38:01 +0000 |
commit | 8e742f1cc4fb1a9910ae16164c1c03f4f3855516 (patch) | |
tree | 4499e1d506f9ef760127e19a3fbc555da0ba5d3b /pkgtools/url2pkg | |
parent | 6816b39f474f644a027c2cdfe54911ee39a43b26 (diff) | |
download | pkgsrc-8e742f1cc4fb1a9910ae16164c1c03f4f3855516.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/url2pkg')
-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 |