pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/compat_netbsd Make PKGNAME consistent across...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15e37b5a1fcf
branches:  trunk
changeset: 535745:15e37b5a1fcf
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Nov 27 19:40:51 2007 +0000

description:
Make PKGNAME consistent across all platforms in the compat* and
netbsd32_compat* packages.

diffstat:

 emulators/compat_netbsd/Makefile.common |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r edf16fe8437d -r 15e37b5a1fcf emulators/compat_netbsd/Makefile.common
--- a/emulators/compat_netbsd/Makefile.common   Tue Nov 27 19:20:42 2007 +0000
+++ b/emulators/compat_netbsd/Makefile.common   Tue Nov 27 19:40:51 2007 +0000
@@ -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 @@
 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_



Home | Main Index | Thread Index | Old Index