summaryrefslogtreecommitdiff
path: root/emulators/suse_linux
diff options
context:
space:
mode:
authorjlam <jlam>2007-07-29 05:18:36 +0000
committerjlam <jlam>2007-07-29 05:18:36 +0000
commit275d7ca4f86079521544b7e820383bc271742a03 (patch)
tree45cad36d8470a568b9136017b2dd79c9efcc65bc /emulators/suse_linux
parent838c2b6ce6faa38ac52676e60b80d81504e7827c (diff)
downloadpkgsrc-275d7ca4f86079521544b7e820383bc271742a03.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/suse_linux')
-rw-r--r--emulators/suse_linux/Makefile.application32
-rw-r--r--emulators/suse_linux/PLIST_dynamic2
-rw-r--r--emulators/suse_linux/unavailable.mk20
3 files changed, 0 insertions, 54 deletions
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
deleted file mode 100644
index 45a82846424..00000000000
--- a/emulators/suse_linux/Makefile.application
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile.application,v 1.24 2007/04/19 15:30:22 xtraeme Exp $
-
-.include "../../mk/bsd.prefs.mk"
-
-.if (${OPSYS} == "NetBSD" || \
- ${OPSYS} == "FreeBSD" || \
- ${OPSYS} == "DragonFly") \
- && (${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "powerpc" || \
- ${MACHINE_ARCH} == "x86_64")
-
-. if !empty(SUSE_PREFER:M10.0)
-. include "../../emulators/suse100_linux/vars.mk"
-. elif !empty(SUSE_PREFER:M9.1) && (${MACHINE_ARCH} != "powerpc")
-. include "../../emulators/suse91_linux/vars.mk"
-. else
-. include "../../emulators/suse_linux/unavailable.mk"
-. endif
-
-. if defined(RPMFILES) || defined(SUSE_COMPAT32)
-. include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
-. endif
-
-EMULSUBDIR?= emul/linux
-EMULDIR?= ${PREFIX}/${EMULSUBDIR}
-LDD= ${EMULDIR}/usr/bin/ldd
-.elif ${OPSYS} == "Linux"
-# No Linux emulation is needed
-USE_NATIVE_LINUX= # empty
-.else
-. include "../../emulators/suse_linux/unavailable.mk"
-.endif
diff --git a/emulators/suse_linux/PLIST_dynamic b/emulators/suse_linux/PLIST_dynamic
deleted file mode 100644
index 596e633957a..00000000000
--- a/emulators/suse_linux/PLIST_dynamic
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST_dynamic,v 1.2 2006/06/26 17:54:20 salo Exp $
-@comment PLIST created dynamically
diff --git a/emulators/suse_linux/unavailable.mk b/emulators/suse_linux/unavailable.mk
deleted file mode 100644
index 3bf272f3610..00000000000
--- a/emulators/suse_linux/unavailable.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: unavailable.mk,v 1.2 2006/07/28 22:57:38 kristerw Exp $
-
-.ifndef SUSE_UNAVAILABLE_MK
-SUSE_UNAVAILABLE_MK=1
-
-# We put a value here so that the creation of the bulk build cache files
-# works correctly on all machines. This speeds up the marking of all
-# COMPAT_LINUX packages as not available.
-#
-SUSE_DIR_PREFIX= suse100
-SUSE_VERSION= 0
-PKG_SKIP_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}"
-
-# By default, we can't check for missing shared libraries nor note which
-# shared libraries are provided and/or required by the package since the
-# library support is via syscall emulation.
-#
-CHECK_SHLIBS_SUPPORTED?= no
-
-.endif # SUSE_UNAVAILABLE_MK