summaryrefslogtreecommitdiff
path: root/emulators/suse91_compat
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-07-29 05:18:36 +0000
committerjlam <jlam@pkgsrc.org>2007-07-29 05:18:36 +0000
commit33f30156fb37245b360bbc293320402ecf1aba41 (patch)
tree45cad36d8470a568b9136017b2dd79c9efcc65bc /emulators/suse91_compat
parentffe106498e5f63e2e945d5b6b2ac8807a10ae78f (diff)
downloadpkgsrc-33f30156fb37245b360bbc293320402ecf1aba41.tar.gz
* Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
Diffstat (limited to 'emulators/suse91_compat')
-rw-r--r--emulators/suse91_compat/DESCR9
-rw-r--r--emulators/suse91_compat/Makefile25
-rw-r--r--emulators/suse91_compat/Makefile.i3863
-rw-r--r--emulators/suse91_compat/Makefile.x86_643
-rw-r--r--emulators/suse91_compat/suse.i386.mk4
-rw-r--r--emulators/suse91_compat/suse.x86_64.mk3
6 files changed, 19 insertions, 28 deletions
diff --git a/emulators/suse91_compat/DESCR b/emulators/suse91_compat/DESCR
index addf8028f9b..573641b8dea 100644
--- a/emulators/suse91_compat/DESCR
+++ b/emulators/suse91_compat/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package contains some old shared libraries required for backwards
-compatibility.
+This package contains some old shared libraries required by older
+Linux binaries.
diff --git a/emulators/suse91_compat/Makefile b/emulators/suse91_compat/Makefile
index 6eb8164602c..7320d0bf46e 100644
--- a/emulators/suse91_compat/Makefile
+++ b/emulators/suse91_compat/Makefile
@@ -1,24 +1,13 @@
-# $NetBSD: Makefile,v 1.9 2006/06/30 15:37:22 salo Exp $
+# $NetBSD: Makefile,v 1.10 2007/07/29 05:19:05 jlam Exp $
-DISTNAME= suse_compat-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_compat-${SUSE_VERSION}
+PKGREVISION= 3
+CATEGORIES= emulators
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package with old shared libraries
+MAINTAINER= tron@NetBSD.org
+COMMENT= Linux compatibility package with old shared libraries
-DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse91_base
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-.if exists(Makefile.${MACHINE_ARCH})
-.include "Makefile.${MACHINE_ARCH}"
-.endif
+EMUL_MODULES.linux= base
.include "../../emulators/suse91_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_compat/Makefile.i386 b/emulators/suse91_compat/Makefile.i386
deleted file mode 100644
index c91f756b2ad..00000000000
--- a/emulators/suse91_compat/Makefile.i386
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1 2006/01/08 16:53:21 salo Exp $
-
-RPMFILES= compat-2004.4.2-3.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_compat/Makefile.x86_64 b/emulators/suse91_compat/Makefile.x86_64
deleted file mode 100644
index 1c784525b32..00000000000
--- a/emulators/suse91_compat/Makefile.x86_64
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1 2006/01/08 16:53:21 salo Exp $
-
-RPMFILES= compat-2004.4.2-2.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_compat/suse.i386.mk b/emulators/suse91_compat/suse.i386.mk
new file mode 100644
index 00000000000..582642f54e7
--- /dev/null
+++ b/emulators/suse91_compat/suse.i386.mk
@@ -0,0 +1,4 @@
+# $NetBSD: suse.i386.mk,v 1.1 2007/07/29 05:19:06 jlam Exp $
+
+# SuSE i386 RPMs
+DISTFILES= compat-2004.4.2-3.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_compat/suse.x86_64.mk b/emulators/suse91_compat/suse.x86_64.mk
new file mode 100644
index 00000000000..13dd631136e
--- /dev/null
+++ b/emulators/suse91_compat/suse.x86_64.mk
@@ -0,0 +1,3 @@
+# $NetBSD: suse.x86_64.mk,v 1.1 2007/07/29 05:19:06 jlam Exp $
+
+DISTFILES= compat-2004.4.2-2.${SUSE_ARCH}.rpm