summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-06-15 21:38:01 +0000
committerhubertf <hubertf>2000-06-15 21:38:01 +0000
commitfce215fbbcdbeef2e817285fd12aba8bd8f614f5 (patch)
tree4499e1d506f9ef760127e19a3fbc555da0ba5d3b /pkgtools/url2pkg
parent40588ac0c33105a8783f5b049fa9054a7758c704 (diff)
downloadpkgsrc-fce215fbbcdbeef2e817285fd12aba8bd8f614f5.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-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