pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/configure Always set both --host and --build, a num...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cfafb6f94830
branches: trunk
changeset: 398943:cfafb6f94830
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Sep 12 00:52:45 2009 +0000
description:
Always set both --host and --build, a number of programs want to use
a cross-compile like environment otherwise.
diffstat:
mk/configure/gnu-configure.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 251741b4927c -r cfafb6f94830 mk/configure/gnu-configure.mk
--- a/mk/configure/gnu-configure.mk Fri Sep 11 22:35:15 2009 +0000
+++ b/mk/configure/gnu-configure.mk Sat Sep 12 00:52:45 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gnu-configure.mk,v 1.8 2008/11/29 12:29:35 rillig Exp $
+# $NetBSD: gnu-configure.mk,v 1.9 2009/09/12 00:52:45 joerg Exp $
_VARGROUPS+= gnu-configure
_USER_VARS.gnu-configure= # none
@@ -28,6 +28,8 @@
.if !empty(USE_GNU_CONFIGURE_HOST:M[yY][eE][sS])
. if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ARGS+= --build=${NATIVE_MACHINE_GNU_PLATFORM:Q}
+. else
+CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q}
. endif
CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q}
.endif
Home |
Main Index |
Thread Index |
Old Index