From 5d2d4fb5ae01a8cd2a6cf42b0e97526847e76a03 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 15 Oct 2004 20:00:57 +0000 Subject: 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. --- pkgtools/autoswc/Makefile | 5 +++-- pkgtools/autoswc/files/autoswc.sh | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'pkgtools/autoswc') 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 @@ -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 -- cgit v1.2.3