summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam>2007-11-27 19:40:51 +0000
committerjlam <jlam>2007-11-27 19:40:51 +0000
commitf4ec03590bbf72cb4246c8b87fda1dd1bc6d3316 (patch)
tree20c12951374a42d78e342d1e5df20a3b930592dc /emulators
parentd58ad2abcd2bd3cb1b9c211735cabd18533ec834 (diff)
downloadpkgsrc-f4ec03590bbf72cb4246c8b87fda1dd1bc6d3316.tar.gz
Make PKGNAME consistent across all platforms in the compat* and
netbsd32_compat* packages.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/compat_netbsd/Makefile.common5
1 files changed, 2 insertions, 3 deletions
diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common
index 72303638f13..7570f1a7bad 100644
--- a/emulators/compat_netbsd/Makefile.common
+++ b/emulators/compat_netbsd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2007/08/30 16:54:08 jlam Exp $
+# $NetBSD: Makefile.common,v 1.8 2007/11/27 19:40:51 jlam Exp $
#
# Common infrastructure for NetBSD compat* packages.
#
@@ -29,8 +29,7 @@ FILESDIR= ${NETBSD_PKGSRCDIR}/files
PATCHDIR= ${NETBSD_PKGSRCDIR}/patches
PKGDIR= ${NETBSD_PKGSRCDIR}
-.if ((${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")) || \
- ((${EMUL_ARCH} == "sparc") && (${MACHINE_ARCH} == "sparc64"))
+.if defined(NETBSD_COMPAT32)
PKGNAME= netbsd32_${DISTNAME:S/-${EMUL_ARCH}-/-/}
COMMENT:= ${COMMENT:S/NetBSD/NetBSD 32-bit/}
NETBSD_BASE= netbsd32_