pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/autoswc We have to set --build and --host in ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3c623528f292
branches: trunk
changeset: 481967:3c623528f292
user: tv <tv%pkgsrc.org@localhost>
date: Fri Oct 15 20:00:57 2004 +0000
description:
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:
pkgtools/autoswc/Makefile | 5 +++--
pkgtools/autoswc/files/autoswc.sh | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 40b09a1b74a2 -r 3c623528f292 pkgtools/autoswc/Makefile
--- a/pkgtools/autoswc/Makefile Fri Oct 15 18:39:19 2004 +0000
+++ b/pkgtools/autoswc/Makefile Fri Oct 15 20:00:57 2004 +0000
@@ -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|@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 -r 40b09a1b74a2 -r 3c623528f292 pkgtools/autoswc/files/autoswc.sh
--- a/pkgtools/autoswc/files/autoswc.sh Fri Oct 15 18:39:19 2004 +0000
+++ b/pkgtools/autoswc/files/autoswc.sh Fri Oct 15 20:00:57 2004 +0000
@@ -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@localhost>
@@ -141,7 +141,8 @@
# 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
Home |
Main Index |
Thread Index |
Old Index