summaryrefslogtreecommitdiff
path: root/emulators
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
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')
-rw-r--r--emulators/m1/Makefile7
-rw-r--r--emulators/ski/Makefile7
-rw-r--r--emulators/suse91_aspell/Makefile13
-rw-r--r--emulators/suse91_base/Makefile4
-rw-r--r--emulators/suse91_compat/Makefile4
-rw-r--r--emulators/suse91_expat/Makefile4
-rw-r--r--emulators/suse91_fontconfig/Makefile4
-rw-r--r--emulators/suse91_freetype2/Makefile4
-rw-r--r--emulators/suse91_glx/Makefile4
-rw-r--r--emulators/suse91_gtk/Makefile4
-rw-r--r--emulators/suse91_gtk2/Makefile4
-rw-r--r--emulators/suse91_libjpeg/Makefile4
-rw-r--r--emulators/suse91_libpng/Makefile6
-rw-r--r--emulators/suse91_libtiff/Makefile4
-rw-r--r--emulators/suse91_linux/Makefile.common6
-rw-r--r--emulators/suse91_locale/Makefile4
-rw-r--r--emulators/suse91_openmotif/Makefile4
-rw-r--r--emulators/suse91_slang/Makefile4
-rw-r--r--emulators/suse91_vmware/Makefile4
-rw-r--r--emulators/suse91_x11/Makefile5
-rw-r--r--emulators/suse_audio/Makefile4
-rw-r--r--emulators/suse_base/Makefile7
-rw-r--r--emulators/suse_compat/Makefile4
-rw-r--r--emulators/suse_devel/Makefile4
-rw-r--r--emulators/suse_fileutils/Makefile4
-rw-r--r--emulators/suse_freetype2/Makefile4
-rw-r--r--emulators/suse_glx/Makefile4
-rw-r--r--emulators/suse_gtk/Makefile4
-rw-r--r--emulators/suse_libc5/Makefile4
-rw-r--r--emulators/suse_libjpeg/Makefile4
-rw-r--r--emulators/suse_libpng/Makefile4
-rw-r--r--emulators/suse_libtiff/Makefile4
-rw-r--r--emulators/suse_linux/Makefile4
-rw-r--r--emulators/suse_linux/Makefile.application5
-rw-r--r--emulators/suse_linux/Makefile.common9
-rw-r--r--emulators/suse_openmotif/Makefile4
-rw-r--r--emulators/suse_slang/Makefile4
-rw-r--r--emulators/suse_vmware/Makefile4
-rw-r--r--emulators/suse_x11/Makefile4
-rw-r--r--emulators/suse_xforms/Makefile4
-rw-r--r--emulators/xyame/Makefile7
41 files changed, 72 insertions, 124 deletions
diff --git a/emulators/m1/Makefile b/emulators/m1/Makefile
index e7fe2652523..9a002594f10 100644
--- a/emulators/m1/Makefile
+++ b/emulators/m1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/09/28 20:52:20 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:23 joerg Exp $
#
DISTNAME= m1074b2-lnx
@@ -11,7 +11,11 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.emuhype.com/index.phtml?s=misc&ss=index
COMMENT= Arcade video and pinball game sound emulator (Linux binary)
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_base>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
+.endif
ONLY_FOR_PLATFORM= *-*-i386
@@ -28,5 +32,4 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/m1
${INSTALL_DATA} ${WRKSRC}/m1.ini ${PREFIX}/share/examples/m1
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ski/Makefile b/emulators/ski/Makefile
index 7f3a2283a9a..58a35fd8c98 100644
--- a/emulators/ski/Makefile
+++ b/emulators/ski/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/05 11:58:50 skrll Exp $
+# $NetBSD: Makefile,v 1.2 2005/12/12 14:43:23 joerg Exp $
DISTNAME= ski-0.9.81-l6-i686
CATEGORIES= emulators
@@ -16,9 +16,9 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
ONLY_FOR_PLATFORM= *-*-i386
-.include "../../mk/bsd.prefs.mk"
+.include "../../emulators/suse_linux/Makefile.application"
-.if ${OPSYS} != "Linux"
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif
@@ -42,5 +42,4 @@ do-install:
${INSTALL_MAN} ${WRKDIR}/nue/usr/man/man1/*ski*.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/nue/usr/X11R6/lib/X11/app-defaults/XSki ${PREFIX}/lib/X11/app-defaults/XSki
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_aspell/Makefile b/emulators/suse91_aspell/Makefile
index 1674fd09afe..f163c3d5d0c 100644
--- a/emulators/suse91_aspell/Makefile
+++ b/emulators/suse91_aspell/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/11/06 14:52:43 salo Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/12 14:43:23 joerg Exp $
DISTNAME= suse_aspell-${SUSE_VERSION}
PKGREVISION= 1
@@ -10,15 +10,18 @@ MAINTAINER= jdolecek@NetBSD.org
HOMEPAGE= http://www.suse.com/
COMMENT= Linux compatibility package for Aspell library
+RPMFILES= aspell-0.50.5-38.4.${SUSE_ARCH}.rpm
+
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
+.endif
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
+ONLY_FOR_PLATFORM= *-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-RPMFILES= aspell-0.50.5-38.4.${SUSE_ARCH}.rpm
-
-.include "../../emulators/suse91_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_base/Makefile b/emulators/suse91_base/Makefile
index 2a92e987a7d..e3bb9fce409 100644
--- a/emulators/suse91_base/Makefile
+++ b/emulators/suse91_base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2005/12/12 14:43:23 joerg Exp $
DISTNAME= suse_base-${SUSE_VERSION}
PKGREVISION= 8
@@ -11,8 +11,6 @@ HOMEPAGE= http://www.suse.com/
COMMENT= Linux compatibility package
CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
-ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386 NetBSD-3.99*-x86_64 \
- NetBSD-[4-9]*-x86_64 FreeBSD-*-i386
EXTRACT_ONLY= # empty
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_compat/Makefile b/emulators/suse91_compat/Makefile
index ffe37f3dbec..12796eb70a2 100644
--- a/emulators/suse91_compat/Makefile
+++ b/emulators/suse91_compat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:45:44 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/12 14:43:23 joerg Exp $
DISTNAME= suse_compat-${SUSE_VERSION}
CATEGORIES= emulators
@@ -11,8 +11,6 @@ COMMENT= Linux compatibility package with old shared libraries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_expat/Makefile b/emulators/suse91_expat/Makefile
index 9ba288b37ff..91dac346d33 100644
--- a/emulators/suse91_expat/Makefile
+++ b/emulators/suse91_expat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/04/11 21:45:44 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:23 joerg Exp $
DISTNAME= suse_expat-${SUSE_VERSION}
PKGREVISION= 1
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for expat binaries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
LIBTOOLIZE_PLIST= NO
diff --git a/emulators/suse91_fontconfig/Makefile b/emulators/suse91_fontconfig/Makefile
index 70baae1f245..a75e904ac19 100644
--- a/emulators/suse91_fontconfig/Makefile
+++ b/emulators/suse91_fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:44 tv Exp $
+# $NetBSD: Makefile,v 1.3 2005/12/12 14:43:23 joerg Exp $
DISTNAME= suse_fontconfig-${SUSE_VERSION}
CATEGORIES= emulators
@@ -11,8 +11,6 @@ COMMENT= Linux compatibility package for fontconfig binaries
DEPENDS+= suse_expat>=${SUSE_VERSION}:../../emulators/suse91_expat
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_freetype2/Makefile b/emulators/suse91_freetype2/Makefile
index 9d08b88e918..569e1625464 100644
--- a/emulators/suse91_freetype2/Makefile
+++ b/emulators/suse91_freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/11/06 14:52:44 salo Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:23 joerg Exp $
DISTNAME= suse_freetype2-${SUSE_VERSION}
PKGREVISION= 1
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for FreeType2 library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_glx/Makefile b/emulators/suse91_glx/Makefile
index 7f8adb3453c..21fdc9e7375 100644
--- a/emulators/suse91_glx/Makefile
+++ b/emulators/suse91_glx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_glx-${SUSE_VERSION}
CATEGORIES= emulators
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for the GL library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
LIBTOOLIZE_PLIST= NO
diff --git a/emulators/suse91_gtk/Makefile b/emulators/suse91_gtk/Makefile
index a9d728bbc7c..b44ebbe7456 100644
--- a/emulators/suse91_gtk/Makefile
+++ b/emulators/suse91_gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/09/28 14:31:06 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_gtk-${SUSE_VERSION}
CATEGORIES= emulators
@@ -11,8 +11,6 @@ COMMENT= Linux compatibility package for GTK binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_gtk2/Makefile b/emulators/suse91_gtk2/Makefile
index 5303cb4a2fd..3ac93660d17 100644
--- a/emulators/suse91_gtk2/Makefile
+++ b/emulators/suse91_gtk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_gtk2-${SUSE_VERSION}
PKGREVISION= 4
@@ -17,8 +17,6 @@ DEPENDS+= suse_libpng>=${SUSE_VERSION}:../../emulators/suse91_libpng
DEPENDS+= suse_libtiff>=${SUSE_VERSION}:../../emulators/suse91_libtiff
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
USE_PKGINSTALL= YES
NO_BUILD= YES
diff --git a/emulators/suse91_libjpeg/Makefile b/emulators/suse91_libjpeg/Makefile
index 07465acd9a1..f6c7d038346 100644
--- a/emulators/suse91_libjpeg/Makefile
+++ b/emulators/suse91_libjpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:45:44 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_libjpeg-${SUSE_VERSION}
PKGREVISION= 1
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for the JPEG library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
LIBTOOLIZE_PLIST= NO
diff --git a/emulators/suse91_libpng/Makefile b/emulators/suse91_libpng/Makefile
index 2d050a020f0..0a8ab639c97 100644
--- a/emulators/suse91_libpng/Makefile
+++ b/emulators/suse91_libpng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/11/06 14:52:44 salo Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_libpng-${SUSE_VERSION}
PKGREVISION= 2
@@ -10,10 +10,6 @@ MAINTAINER= jdolecek@NetBSD.org
HOMEPAGE= http://www.suse.com/
COMMENT= Linux compatibility package for the PNG library
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_libtiff/Makefile b/emulators/suse91_libtiff/Makefile
index 3aa0d2d651b..f8c32ae0445 100644
--- a/emulators/suse91_libtiff/Makefile
+++ b/emulators/suse91_libtiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/11/06 14:52:44 salo Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_libtiff-${SUSE_VERSION}
PKGREVISION= 2
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for the TIFF library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common
index 3b38687854f..a15549df5cc 100644
--- a/emulators/suse91_linux/Makefile.common
+++ b/emulators/suse91_linux/Makefile.common
@@ -1,8 +1,12 @@
-# $NetBSD: Makefile.common,v 1.12 2005/04/03 21:23:15 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.13 2005/12/12 14:43:24 joerg Exp $
.include "../../emulators/suse91_linux/vars.mk"
.include "../../emulators/suse91_linux/arch.mk"
+ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386 NetBSD-3.99*-x86_64 \
+ NetBSD-[4-9]*-x86_64 FreeBSD-*-i386 \
+ DragonFly-*-i386
+
_SUSE_FTP_SUBDIR= suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
_SUSE_FTP_SUBDIR_UPD= suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
diff --git a/emulators/suse91_locale/Makefile b/emulators/suse91_locale/Makefile
index 0dde1b74af4..6bdc3eb1470 100644
--- a/emulators/suse91_locale/Makefile
+++ b/emulators/suse91_locale/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.3 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_locale-${SUSE_VERSION}
CATEGORIES= emulators
@@ -13,8 +13,6 @@ DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
CONFLICTS= linux-locale-[0-9]*
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_openmotif/Makefile b/emulators/suse91_openmotif/Makefile
index 0a7f3ab1e2e..65734188fa2 100644
--- a/emulators/suse91_openmotif/Makefile
+++ b/emulators/suse91_openmotif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/11/06 14:52:44 salo Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_openmotif-${SUSE_VERSION}
PKGREVISION= 2
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for the Motif library
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_slang/Makefile b/emulators/suse91_slang/Makefile
index ddbf1b2bf2d..690260a2a7d 100644
--- a/emulators/suse91_slang/Makefile
+++ b/emulators/suse91_slang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_slang-${SUSE_VERSION}
CATEGORIES= emulators
@@ -11,8 +11,6 @@ COMMENT= Linux compatibility package for slang library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_vmware/Makefile b/emulators/suse91_vmware/Makefile
index 8a65af42173..8c4127eb729 100644
--- a/emulators/suse91_vmware/Makefile
+++ b/emulators/suse91_vmware/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_vmware-${SUSE_VERSION}
CATEGORIES= emulators
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package to support running VMware
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse91_x11/Makefile b/emulators/suse91_x11/Makefile
index 1ac52d1af1d..f0ae3ebad7c 100644
--- a/emulators/suse91_x11/Makefile
+++ b/emulators/suse91_x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/11/06 14:52:44 salo Exp $
+# $NetBSD: Makefile,v 1.7 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_x11-${SUSE_VERSION}
PKGREVISION= 3
@@ -12,9 +12,6 @@ COMMENT= Linux compatibility package for X11 binaries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-[2-9]*-i386 NetBSD-[3-9]*-x86_64 \
- FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_audio/Makefile b/emulators/suse_audio/Makefile
index 93bfcf48cc3..ceae22faac4 100644
--- a/emulators/suse_audio/Makefile
+++ b/emulators/suse_audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.15 2005/12/12 14:43:24 joerg Exp $
DISTNAME= audiofile
PKGNAME= suse_audio-${SUSE_VERSION}
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for audio libraries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
index 4eee4ca0607..d407ab1294c 100644
--- a/emulators/suse_base/Makefile
+++ b/emulators/suse_base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2005/08/16 00:30:41 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.56 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_base-${SUSE_VERSION}
PKGREVISION= 7
@@ -12,11 +12,6 @@ HOMEPAGE= http://www.suse.com/
COMMENT= Linux compatibility package
CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
-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
EXTRACT_ONLY= # empty
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_compat/Makefile b/emulators/suse_compat/Makefile
index 6214a54ff51..452e861bbaa 100644
--- a/emulators/suse_compat/Makefile
+++ b/emulators/suse_compat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.23 2005/12/12 14:43:24 joerg Exp $
DISTNAME= compat
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package with old shared libraries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_devel/Makefile b/emulators/suse_devel/Makefile
index a6d24a87bfb..31afbf65fa5 100644
--- a/emulators/suse_devel/Makefile
+++ b/emulators/suse_devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_devel-${SUSE_VERSION}
CATEGORIES= emulators
@@ -15,8 +15,6 @@ COMMENT= Linux compatibility package - development tools
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_fileutils/Makefile b/emulators/suse_fileutils/Makefile
index fd286a4d428..31fbe9fcd6d 100644
--- a/emulators/suse_fileutils/Makefile
+++ b/emulators/suse_fileutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_fileutils-${SUSE_VERSION}
CATEGORIES= emulators
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package - fileutils
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_freetype2/Makefile b/emulators/suse_freetype2/Makefile
index ac1c17e8107..6a0c7ea1ce3 100644
--- a/emulators/suse_freetype2/Makefile
+++ b/emulators/suse_freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2005/12/12 14:43:24 joerg Exp $
DISTNAME= freetype2
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -14,8 +14,6 @@ COMMENT= Linux compatibility package for the FreeType2 library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
NO_BUILD= YES
EXTRACT_ONLY= # empty
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_glx/Makefile b/emulators/suse_glx/Makefile
index 97642a1cb2f..f6e71241de9 100644
--- a/emulators/suse_glx/Makefile
+++ b/emulators/suse_glx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/12/12 14:43:24 joerg Exp $
DISTNAME= glx
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for GLX binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_gtk/Makefile b/emulators/suse_gtk/Makefile
index b41d7cdbbf7..d7995d7d141 100644
--- a/emulators/suse_gtk/Makefile
+++ b/emulators/suse_gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.16 2005/12/12 14:43:24 joerg Exp $
DISTNAME= suse_gtk-${SUSE_VERSION}
CATEGORIES= emulators
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for GTK binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_libc5/Makefile b/emulators/suse_libc5/Makefile
index 695a9137e51..dd2a0a19e86 100644
--- a/emulators/suse_libc5/Makefile
+++ b/emulators/suse_libc5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.30 2005/12/12 14:43:24 joerg Exp $
DISTNAME= shlibs5
PKGNAME= suse_libc5-${SUSE_VERSION}
@@ -13,8 +13,6 @@ COMMENT= Linux compatibility package for libc5 binaries
DEPENDS+= suse_compat>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_compat
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_libjpeg/Makefile b/emulators/suse_libjpeg/Makefile
index 68afd520835..75207ae8702 100644
--- a/emulators/suse_libjpeg/Makefile
+++ b/emulators/suse_libjpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/12/12 14:43:24 joerg Exp $
DISTNAME= libjpeg
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -13,8 +13,6 @@ COMMENT= Linux compatibility package for the JPEG library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
LIBTOOLIZE_PLIST= NO
diff --git a/emulators/suse_libpng/Makefile b/emulators/suse_libpng/Makefile
index a1e2f5ebb62..05825c83b07 100644
--- a/emulators/suse_libpng/Makefile
+++ b/emulators/suse_libpng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/12/12 14:43:25 joerg Exp $
DISTNAME= libpng
PKGREVISION= 1
@@ -14,8 +14,6 @@ COMMENT= Linux compatibility package for the PNG library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_libtiff/Makefile b/emulators/suse_libtiff/Makefile
index 386bf25da58..15f8bdd69d8 100644
--- a/emulators/suse_libtiff/Makefile
+++ b/emulators/suse_libtiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.8 2005/12/12 14:43:25 joerg Exp $
DISTNAME= libtiff
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for the TIFF library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
NO_BUILD= YES
EXTRACT_ONLY= # empty
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
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/
diff --git a/emulators/suse_openmotif/Makefile b/emulators/suse_openmotif/Makefile
index c0eb21d22a0..945b1e09074 100644
--- a/emulators/suse_openmotif/Makefile
+++ b/emulators/suse_openmotif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.11 2005/12/12 14:43:25 joerg Exp $
DISTNAME= openmotif
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for the Motif libraries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_slang/Makefile b/emulators/suse_slang/Makefile
index bf454b1fff9..dff6630fcf1 100644
--- a/emulators/suse_slang/Makefile
+++ b/emulators/suse_slang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2005/12/12 14:43:25 joerg Exp $
DISTNAME= slang
PKGREVISION= 1
@@ -13,8 +13,6 @@ COMMENT= Linux compatibility package for slang library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_vmware/Makefile b/emulators/suse_vmware/Makefile
index afa7e1b499d..06b95ed22f8 100644
--- a/emulators/suse_vmware/Makefile
+++ b/emulators/suse_vmware/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:12 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2005/12/12 14:43:25 joerg Exp $
DISTNAME= fileutils-4.1-154.i386
PKGNAME= suse_vmware-${SUSE_VERSION}
@@ -13,8 +13,6 @@ COMMENT= Linux compatibility package to support running VMware
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_x11/Makefile b/emulators/suse_x11/Makefile
index ff38982cbf2..d55346e690a 100644
--- a/emulators/suse_x11/Makefile
+++ b/emulators/suse_x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.29 2005/12/12 14:43:25 joerg Exp $
DISTNAME= suse_x11-${SUSE_VERSION}
PKGREVISION= 2
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for X11 binaries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/suse_xforms/Makefile b/emulators/suse_xforms/Makefile
index d9e41496f92..d72243b23c0 100644
--- a/emulators/suse_xforms/Makefile
+++ b/emulators/suse_xforms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/04/11 21:45:45 tv Exp $
+# $NetBSD: Makefile,v 1.21 2005/12/12 14:43:25 joerg Exp $
DISTNAME= xforms
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,8 +12,6 @@ COMMENT= Linux compatibility package for xforms binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
-
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
diff --git a/emulators/xyame/Makefile b/emulators/xyame/Makefile
index 64d068d3ca5..79335a165c6 100644
--- a/emulators/xyame/Makefile
+++ b/emulators/xyame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:52 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2005/12/12 14:43:25 joerg Exp $
#
DISTNAME= xyame038
@@ -10,7 +10,11 @@ MAINTAINER= wiz@NetBSD.org
#HOMEPAGE= http://www.geocities.co.jp/Stylish/2068/yame.html
COMMENT= Multi-system emulator (Gameboy, NES, and PC-Engine)
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
+.endif
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
@@ -25,5 +29,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xyame ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/yame.6 ${PREFIX}/man/man6/xyame.6
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"