diff options
author | tv <tv> | 2004-10-15 20:00:57 +0000 |
---|---|---|
committer | tv <tv> | 2004-10-15 20:00:57 +0000 |
commit | 8cfdec959477d4db6205660f9e92b69e1397ead1 (patch) | |
tree | fe063363f1fd1452e242282b64318322c3f5c780 /pkgtools/autoswc | |
parent | 9fe8924d73de9fd62930ed59c69e3a0429463b8b (diff) | |
download | pkgsrc-8cfdec959477d4db6205660f9e92b69e1397ead1.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')
-rw-r--r-- | pkgtools/autoswc/Makefile | 5 | ||||
-rw-r--r-- | pkgtools/autoswc/files/autoswc.sh | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/autoswc/Makefile b/pkgtools/autoswc/Makefile index 156d9037b7c..657abc2e434 100644 --- a/pkgtools/autoswc/Makefile +++ b/pkgtools/autoswc/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2004/04/07 20:16:14 jmmv Exp $ +# $NetBSD: Makefile,v 1.6 2004/10/15 20:00:57 tv Exp $ -DISTNAME= autoswc-1.2 +DISTNAME= autoswc-1.3 CATEGORIES= pkgtools sysutils MASTER_SITES= # empty DISTFILES= # empty @@ -43,6 +43,7 @@ SUBST_SED.build+= -e 's|@AUTOCONF@|${PREFIX.autoconf}/bin/autoconf|g' SUBST_SED.build+= -e 's|@AUTOMAKE@|${PREFIX.automake}/bin/automake|g' SUBST_SED.build+= -e 's|@CACHEDIR@|${CACHEDIR}|g' SUBST_SED.build+= -e 's|@LIBTOOLIZE@|${PREFIX.libtool}/bin/libtoolize|g' +SUBST_SED.build+= -e 's|@MACHINE_GNU_PLATFORM@|${MACHINE_GNU_PLATFORM}|g' SUBST_SED.build+= -e 's|@MAKE@|${MAKE}|g' SUBST_SED.build+= -e 's|@MKCONF@|${MKCONF}|g' SUBST_SED.build+= -e 's|@PREFIX@|${PREFIX}|g' 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 |