summaryrefslogtreecommitdiff
path: root/pkgtools/autoswc/files
diff options
context:
space:
mode:
authortv <tv>2004-10-15 20:00:57 +0000
committertv <tv>2004-10-15 20:00:57 +0000
commit5f9b346075297fe7e870251e08fa489418cf470c (patch)
treefe063363f1fd1452e242282b64318322c3f5c780 /pkgtools/autoswc/files
parentcffcd16fefc982f586b979f434d655d464674e22 (diff)
downloadpkgsrc-5f9b346075297fe7e870251e08fa489418cf470c.tar.gz
We have to set --build and --host in order to get correct values, because
these are actually pulled from the cache by some packages. Use the value of ${MACHINE_GNU_PLATFORM} for both. Bump to version 1.3.
Diffstat (limited to 'pkgtools/autoswc/files')
-rw-r--r--pkgtools/autoswc/files/autoswc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/autoswc/files/autoswc.sh b/pkgtools/autoswc/files/autoswc.sh
index e0316845fd4..4c016c08956 100644
--- a/pkgtools/autoswc/files/autoswc.sh
+++ b/pkgtools/autoswc/files/autoswc.sh
@@ -1,6 +1,6 @@
#!@SH@
#
-# $NetBSD: autoswc.sh,v 1.1.1.1 2004/02/21 23:28:36 jmmv Exp $
+# $NetBSD: autoswc.sh,v 1.2 2004/10/15 20:00:57 tv Exp $
#
# autoswc - Generates system wide cache files for GNU autoconf
# Copyright (c) 2004 Julio M. Merino Vidal <jmmv@NetBSD.org>
@@ -141,7 +141,8 @@ info "running @AUTOCONF@..."
# Run the configure script.
[ ! -f configure ] && err "autoconf failed"
-CONFIG_SITE= ./configure --cache-file=config.cache || \
+CONFIG_SITE= ./configure --cache-file=config.cache \
+ --build=@MACHINE_GNU_PLATFORM@ --host=@MACHINE_GNU_PLATFORM@ || \
err "configure failed"
mv config.cache config.cache.in