summaryrefslogtreecommitdiff
path: root/emulators/netbsd32_compat14
diff options
context:
space:
mode:
authorhamajima <hamajima@pkgsrc.org>2005-01-11 05:12:56 +0000
committerhamajima <hamajima@pkgsrc.org>2005-01-11 05:12:56 +0000
commit2bfb9bf44442cb43d37d9b2c1c6f3b7e6c711fea (patch)
tree37ef08c6a5fb844c7123e4a23e66a3fc1d24b1f7 /emulators/netbsd32_compat14
parentb3f4719668605c4c5e37410a5c11e2a7f17edc91 (diff)
downloadpkgsrc-2bfb9bf44442cb43d37d9b2c1c6f3b7e6c711fea.tar.gz
support i386 a.out and ELF binary emulation for amd64.
Diffstat (limited to 'emulators/netbsd32_compat14')
-rw-r--r--emulators/netbsd32_compat14/INSTALL11
-rw-r--r--emulators/netbsd32_compat14/Makefile16
-rw-r--r--emulators/netbsd32_compat14/PLIST.i3863
-rw-r--r--emulators/netbsd32_compat14/distinfo4
4 files changed, 25 insertions, 9 deletions
diff --git a/emulators/netbsd32_compat14/INSTALL b/emulators/netbsd32_compat14/INSTALL
index 2cd1fa2f9cd..bba96f36602 100644
--- a/emulators/netbsd32_compat14/INSTALL
+++ b/emulators/netbsd32_compat14/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 19:07:10 jlam Exp $
+# $NetBSD: INSTALL,v 1.3 2005/01/11 05:12:56 hamajima Exp $
case ${STAGE} in
POST-INSTALL)
@@ -9,10 +9,11 @@ POST-INSTALL)
# that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32.
#
create_emul_symlink=0
- if [ "${MACHINE_ARCH}" = "sparc64" ]
- then
- create_emul_symlink=1
- fi
+ case ${MACHINE_ARCH} in
+ sparc64 | x86_64)
+ create_emul_symlink=1
+ ;;
+ esac
if [ ${create_emul_symlink} = 1 ]
then
diff --git a/emulators/netbsd32_compat14/Makefile b/emulators/netbsd32_compat14/Makefile
index 0581129b985..9b162d57c7f 100644
--- a/emulators/netbsd32_compat14/Makefile
+++ b/emulators/netbsd32_compat14/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/08/30 22:51:16 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/01/11 05:12:56 hamajima Exp $
#
DISTNAME= compat14-${MACHINE32_ARCH}-${VERSION}
@@ -10,16 +10,21 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
COMMENT= 32-bit shared libraries for NetBSD 1.4 (and earlier) compatibility
-DEPENDS+= netbsd32_compat15>=1.0:../netbsd32_compat15
-
VERSION= 1.4.3.1
+PKGREVISION= 1
.if ${MACHINE_ARCH} == "sparc64"
MACHINE32_ARCH= sparc
+DEPENDS+= netbsd32_compat15>=1.0:../netbsd32_compat15
+.elif ${MACHINE_ARCH} == "x86_64"
+MACHINE32_ARCH= i386
+DEPENDS+= netbsd32_compat16>=1.0:../netbsd32_compat16
.else
MACHINE32_ARCH= ${MACHINE_ARCH}
.endif
+
ONLY_FOR_PLATFORM= NetBSD-*-sparc64
+ONLY_FOR_PLATFORM+= NetBSD-2*-x86_64
NO_MTREE= # defined
NO_BUILD= # defined
@@ -40,6 +45,11 @@ EMULSUBDIR= emul/aout
COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
+PLIST_SRC+= ${PKGDIR}/PLIST
+.if exists(${PKGDIR}/PLIST.${MACHINE32_ARCH})
+PLIST_SRC+= ${PKGDIR}/PLIST.${MACHINE32_ARCH}
+.endif
+
PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
do-install:
diff --git a/emulators/netbsd32_compat14/PLIST.i386 b/emulators/netbsd32_compat14/PLIST.i386
new file mode 100644
index 00000000000..ee0edbcc2c1
--- /dev/null
+++ b/emulators/netbsd32_compat14/PLIST.i386
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2005/01/11 05:12:56 hamajima Exp $
+${COMPAT_LIBDIR}/libi386.so.0.2
+${COMPAT_LIBDIR}/libkeycap.so.0.0
diff --git a/emulators/netbsd32_compat14/distinfo b/emulators/netbsd32_compat14/distinfo
index 0859c1f7c71..a744d68add3 100644
--- a/emulators/netbsd32_compat14/distinfo
+++ b/emulators/netbsd32_compat14/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.3 2002/08/13 03:06:10 jdarrow Exp $
+$NetBSD: distinfo,v 1.4 2005/01/11 05:12:56 hamajima Exp $
+SHA1 (compat14-i386-1.4.3.1.tar.gz) = 7c00ede3cf18bfc437e9262f0e583bde5f134004
+Size (compat14-i386-1.4.3.1.tar.gz) = 1646083 bytes
SHA1 (compat14-sparc-1.4.3.1.tar.gz) = 9c0e46ced11f1f56fde79158edebb12898ea4ffa
Size (compat14-sparc-1.4.3.1.tar.gz) = 1831758 bytes