summaryrefslogtreecommitdiff
path: root/emulators/suse_linux
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-12 14:43:23 +0000
committerjoerg <joerg>2005-12-12 14:43:23 +0000
commit540e0281a4e91b921b54e3d9f8acb7bac1458637 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /emulators/suse_linux
parent58cc45f1a9669fddaa13933caba743bb1880c96c (diff)
downloadpkgsrc-540e0281a4e91b921b54e3d9f8acb7bac1458637.tar.gz
First step at reworking Linux binary packages.
Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms.
Diffstat (limited to 'emulators/suse_linux')
-rw-r--r--emulators/suse_linux/Makefile4
-rw-r--r--emulators/suse_linux/Makefile.application5
-rw-r--r--emulators/suse_linux/Makefile.common9
3 files changed, 13 insertions, 5 deletions
diff --git a/emulators/suse_linux/Makefile b/emulators/suse_linux/Makefile
index 4c4bf013f76..bc94d7fd119 100644
--- a/emulators/suse_linux/Makefile
+++ b/emulators/suse_linux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2005/07/19 10:23:42 grant Exp $
+# $NetBSD: Makefile,v 1.30 2005/12/12 14:43:25 joerg Exp $
DISTNAME= suse_linux-7.3
CATEGORIES= emulators
@@ -24,7 +24,7 @@ DEPENDS+= suse_libc5>=7.3:../../emulators/suse_libc5
ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386 \
NetBSD-[2-9]*-i386 NetBSD-*-powerpc \
- FreeBSD-*-i386
+ FreeBSD-*-i386 DrgaonFly-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
index b85327714c7..4b7eb1b3a65 100644
--- a/emulators/suse_linux/Makefile.application
+++ b/emulators/suse_linux/Makefile.application
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.application,v 1.16 2005/04/28 22:33:36 jlam Exp $
+# $NetBSD: Makefile.application,v 1.17 2005/12/12 14:43:25 joerg Exp $
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && \
+.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly") && \
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
. if !empty(SUSE_PREFER:M9.1)
@@ -17,6 +17,7 @@
.elif ${OPSYS} == "Linux"
# No Linux emulation is needed
+USE_NATIVE_LINUX= # empty
.else
# we put a value here so that the creation of the bulk
# build cache files works correctly on non-i386 machines.
diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common
index f8874a1bb4e..e74ded30822 100644
--- a/emulators/suse_linux/Makefile.common
+++ b/emulators/suse_linux/Makefile.common
@@ -1,8 +1,15 @@
-# $NetBSD: Makefile.common,v 1.21 2005/04/03 21:23:15 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.22 2005/12/12 14:43:25 joerg Exp $
.include "../../emulators/suse_linux/vars.mk"
.include "../../emulators/suse_linux/arch.mk"
+ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386
+ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386
+ONLY_FOR_PLATFORM+= NetBSD-1.6[L-Z]-powerpc NetBSD-1.6Z[A-Z]-powerpc
+ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-powerpc
+ONLY_FOR_PLATFORM+= FreeBSD-*-i386
+ONLY_FOR_PLATFORM+= DragonFly-*-i386
+
MASTER_SITE_SUSE?= ftp://ftp.suse.com/pub/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/
# ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/
# ftp://gd.tuwien.ac.at/linux/suse.com/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/