summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortv <tv>1999-04-29 14:27:28 +0000
committertv <tv>1999-04-29 14:27:28 +0000
commit5b4d9e7e7a8a4229a4c7bf37b0d1e3404d730140 (patch)
tree46d3587b844b67e672fbf21f72651fa33479dbe9 /mk/bsd.pkg.mk
parentfa76726eb2a0cbbdc63929f2bf070b579f9f0f49 (diff)
downloadpkgsrc-5b4d9e7e7a8a4229a4c7bf37b0d1e3404d730140.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/bsd.pkg.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?=