summaryrefslogtreecommitdiff
path: root/emulators/compat_netbsd
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-11-27 19:40:51 +0000
committerjlam <jlam@pkgsrc.org>2007-11-27 19:40:51 +0000
commit8199a0eab14883a536982ed62f5d32c02a721ba3 (patch)
tree20c12951374a42d78e342d1e5df20a3b930592dc /emulators/compat_netbsd
parent18bb62a29e15d5db2f6c0eaf0fa329a7302f4b08 (diff)
downloadpkgsrc-8199a0eab14883a536982ed62f5d32c02a721ba3.tar.gz
Make PKGNAME consistent across all platforms in the compat* and
netbsd32_compat* packages.
Diffstat (limited to 'emulators/compat_netbsd')
-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_