summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv>1998-05-22 17:35:42 +0000
committertv <tv>1998-05-22 17:35:42 +0000
commit13cebb2b433e9c6c15148e7e117e3dd874ae9bd9 (patch)
tree6c1b42d6d3b6f7a31de5d364d3981fed7913bb8f
parenta9b3a2901a84b156d18c8e0d475b17ab692654bd (diff)
downloadpkgsrc-13cebb2b433e9c6c15148e7e117e3dd874ae9bd9.tar.gz
Tell GNU packages the explicit host, instead of "guessing" via uname.
Derive this from ${MACHINE_GNU_ARCH}.
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 08de84cc7a7..5ee57a56eeb 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $NetBSD: bsd.pkg.mk,v 1.83 1998/05/14 11:53:30 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.84 1998/05/22 17:35:42 tv Exp $
#
# This file is derived from bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -819,7 +819,7 @@ CONFIGURE_SCRIPT?= configure
CONFIGURE_ENV+= PATH=${PATH}:${LOCALBASE}/bin:${X11BASE}/bin
.if defined(GNU_CONFIGURE)
-CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --host=${MACHINE_GNU_ARCH}-netbsd --prefix=${PREFIX}
HAS_CONFIGURE= yes
.endif