pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Occasionally we do not want the "--host=${MACHINE_G...
details: https://anonhg.NetBSD.org/pkgsrc/rev/995ade968e0b
branches: trunk
changeset: 492600:995ade968e0b
user: agc <agc%pkgsrc.org@localhost>
date: Sat Apr 16 09:20:18 2005 +0000
description:
Occasionally we do not want the "--host=${MACHINE_GNU_PLATFORM}" argument
added if GNU_CONFIGURE is specified - the arla and forthcoming openafs
packages are ones that need to be able to let the GNU configure script
guess for itself, rather than hardcoding the value.
Add a switch called USE_GNU_CONFIGURE_HOST to determine whether the
--host argument is provided to the GNU configure script. This is
switched on (it has a "yes" value) by default, so the previous
behaviour applies, but allows us to specify this value on a
package-by-package basis.
Documentation changes for this are also forthcoming.
diffstat:
mk/bsd.pkg.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 7c934bced08a -r 995ade968e0b mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sat Apr 16 07:37:30 2005 +0000
+++ b/mk/bsd.pkg.mk Sat Apr 16 09:20:18 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1611 2005/04/15 02:04:57 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1612 2005/04/16 09:20:18 agc Exp $
#
# This file is in the public domain.
#
@@ -849,7 +849,10 @@
# GNU configure script.
#
GNU_CONFIGURE_PREFIX?= ${PREFIX}
+USE_GNU_CONFIGURE_HOST?= yes
+. if !empty(USE_GNU_CONFIGURE_HOST:M[yY][eE][sS])
CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM}
+. endif
CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX}
HAS_CONFIGURE= yes
. if defined(USE_X11)
Home |
Main Index |
Thread Index |
Old Index