summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv>1999-04-29 14:27:28 +0000
committertv <tv>1999-04-29 14:27:28 +0000
commit730434fa379427eab2b50d8d2d44bd54543debf4 (patch)
tree46d3587b844b67e672fbf21f72651fa33479dbe9 /mk
parent323c4d1da85d12c1068f520560e9e4b1fdf8b6da (diff)
downloadpkgsrc-730434fa379427eab2b50d8d2d44bd54543debf4.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?=