summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1999-04-29 14:27:28 +0000
committertv <tv@pkgsrc.org>1999-04-29 14:27:28 +0000
commit8712f2e873263c5812aa43bf1f3d3ec7e5337531 (patch)
tree46d3587b844b67e672fbf21f72651fa33479dbe9 /mk
parent49f58b5af02f1cce564489969b2e441865ea2ae7 (diff)
downloadpkgsrc-8712f2e873263c5812aa43bf1f3d3ec7e5337531.tar.gz
Older 1.3.x releases don't have the GNU_ARCH stuff in bsd.own.mk. Add
definitions for the architectures available in those releases, set with ?=.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 724f46e8418..1c3bdd53876 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.261 1999/04/29 02:19:55 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.262 1999/04/29 14:27:28 tv Exp $
#
# This file is in the public domain.
#
@@ -732,6 +732,18 @@ PKGFILE?= ${PKGNAME}${PKG_SUFX}
CONFIGURE_SCRIPT?= configure
CONFIGURE_ENV+= PATH=${PATH}:${LOCALBASE}/bin:${X11BASE}/bin
+# 1.3.[012] did not define all of these in bsd.own.mk. Preload those
+# for architectures available in those releases.
+GNU_ARCH.alpha?= alpha
+GNU_ARCH.arm32?= arm
+GNU_ARCH.i386?= i386
+GNU_ARCH.m68k?= m68k
+GNU_ARCH.mips?= mipsel
+GNU_ARCH.ns32k?= ns32k
+GNU_ARCH.sparc?= sparc
+GNU_ARCH.vax?= vax
+MACHINE_GNU_ARCH?= ${GNU_ARCH.${MACHINE_ARCH}}
+
.if (${OPSYS} == "NetBSD")
LOWER_OPSYS?= netbsd
LOWER_VENDOR?=