summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-06-15 21:38:01 +0000
committerhubertf <hubertf@pkgsrc.org>2000-06-15 21:38:01 +0000
commitcb5dbb4edace58d80f7e2ebc40d0374ad4bfdc35 (patch)
tree4499e1d506f9ef760127e19a3fbc555da0ba5d3b /pkgtools
parent5e60bfbbcc550910f15c77bb5b9194f9cd1a9468 (diff)
downloadpkgsrc-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-xpkgtools/url2pkg/files/url2pkg4
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