summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortv <tv>1998-03-17 21:31:39 +0000
committertv <tv>1998-03-17 21:31:39 +0000
commit3857cfaa515574aef713ca9cd68ae85e1387fa1a (patch)
treef1d11d378c57b8edf3dc070fc66318f1b0284f6a /emulators
parente78e02e6e0962957d4d9ac17d86416f5acabf02d (diff)
downloadpkgsrc-3857cfaa515574aef713ca9cd68ae85e1387fa1a.tar.gz
Import of NetBSD 1.1 shared library compat package
Diffstat (limited to 'emulators')
-rw-r--r--emulators/compat11/Makefile36
-rwxr-xr-xemulators/compat11/files/configure22
-rw-r--r--emulators/compat11/files/md59
-rw-r--r--emulators/compat11/pkg/COMMENT1
-rw-r--r--emulators/compat11/pkg/DESCR5
5 files changed, 73 insertions, 0 deletions
diff --git a/emulators/compat11/Makefile b/emulators/compat11/Makefile
new file mode 100644
index 00000000000..63063978e9e
--- /dev/null
+++ b/emulators/compat11/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: compat11
+# Version required: 1.1
+# Date created: 17 Mar 1998
+# Whom: tv@netbsd.org
+#
+# $NetBSD: Makefile,v 1.1.1.1 1998/03/17 21:31:39 tv Exp $
+#
+
+DISTNAME= compat11
+EXTRACT_SUFX= _${ARCH}.tgz
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+ONLY_FOR_ARCHS= amiga atari hp300 i386 mac68k mvme68k pc532 sparc sun3
+
+MAINTAINER= tv@netbsd.org
+
+LIB_DEPENDS= edit.0.:${PORTSDIR}/emulators/compat12 \
+ g++.3.:${PORTSDIR}/emulators/compat12 \
+ util.3.:${PORTSDIR}/emulators/compat12
+HAS_CONFIGURE= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/usr/lib
+PLIST_SRC= ${WRKSRC}/.PLIST
+
+pre-configure:
+ @${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}
+
+post-install:
+ ${LDCONFIG} || ${TRUE}
+
+.include <bsd.port.mk>
+
+# for sun3x in 1.3.x, get sun3 package
+.if (${ARCH} == "sun3x")
+ARCH= sun3
+.endif
diff --git a/emulators/compat11/files/configure b/emulators/compat11/files/configure
new file mode 100755
index 00000000000..4763b627476
--- /dev/null
+++ b/emulators/compat11/files/configure
@@ -0,0 +1,22 @@
+#!/bin/sh
+# $NetBSD: configure,v 1.1.1.1 1998/03/17 21:31:39 tv Exp $
+# Configure package and create its Makefile and PLIST
+
+echo Configuring compat11 package
+
+for file in lib*.so*; do
+ echo >>Makefile "FILES+=$file"
+ echo >>.PLIST "${PREFIX}/lib/$file"
+done
+
+cat >>Makefile <<EOF
+
+install:
+ @echo Installing...
+ \${BSD_INSTALL_DATA} \${FILES} \${PREFIX}/lib
+EOF
+
+cat >>.PLIST <<EOF
+@exec /sbin/ldconfig || /usr/bin/true
+@unexec /sbin/ldconfig || /usr/bin/true
+EOF
diff --git a/emulators/compat11/files/md5 b/emulators/compat11/files/md5
new file mode 100644
index 00000000000..c29165acf28
--- /dev/null
+++ b/emulators/compat11/files/md5
@@ -0,0 +1,9 @@
+MD5 (compat11_amiga.tgz) = 877075de6cbe6bfb0c8827376b1850b8
+MD5 (compat11_atari.tgz) = 8dd47cf3088068b9ec2e09805615924c
+MD5 (compat11_hp300.tgz) = 5fe6d421a278b9a39d7d9dde9374d7f5
+MD5 (compat11_i386.tgz) = de73017fedbc06ca52853cf246d4f544
+MD5 (compat11_mac68k.tgz) = ae2a354b8f17d9f481e5b14f89b0798e
+MD5 (compat11_mvme68k.tgz) = f9b0582138acc8ad16fd70e4a8753e12
+MD5 (compat11_pc532.tgz) = c33ad5455ebfa047f25fd07c8de667e8
+MD5 (compat11_sparc.tgz) = 851a4d6dacdcd0ef07b4819aa627eb4e
+MD5 (compat11_sun3.tgz) = 3e27eb2b151b973c66667bb2f76f0c97
diff --git a/emulators/compat11/pkg/COMMENT b/emulators/compat11/pkg/COMMENT
new file mode 100644
index 00000000000..7eb4dbcbf2e
--- /dev/null
+++ b/emulators/compat11/pkg/COMMENT
@@ -0,0 +1 @@
+Shared libraries for NetBSD 1.1 (and earlier) compatibility
diff --git a/emulators/compat11/pkg/DESCR b/emulators/compat11/pkg/DESCR
new file mode 100644
index 00000000000..a6460807eb3
--- /dev/null
+++ b/emulators/compat11/pkg/DESCR
@@ -0,0 +1,5 @@
+This package supplies the user files necessary for full compatibility with
+dynamically linked executables compiled under NetBSD 1.1 and earlier
+releases. You still need the options COMPAT_11 and COMPAT_12 in your
+kernel configuration (and probably others; see options(4) for more
+information) to make use of NetBSD 1.1 binaries.