summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-14 11:31:10 +0000
committerxtraeme <xtraeme>2004-04-14 11:31:10 +0000
commit84e44a888737c19988c1dcfe201ba74058634ea5 (patch)
tree63eb7e42e288c64dc40c4af6aa03e3ca2d3c5999 /emulators
parent6b4cfbf0c19b3bf5414b132bf68ca733ca0bd74c (diff)
downloadpkgsrc-84e44a888737c19988c1dcfe201ba74058634ea5.tar.gz
Add FreeBSD support for suse linux packages, from Michal Pasternak in
PR pkg/23900.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse_audio/Makefile4
-rw-r--r--emulators/suse_base/INSTALL56
-rw-r--r--emulators/suse_base/Makefile8
-rw-r--r--emulators/suse_compat/Makefile4
-rw-r--r--emulators/suse_devel/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/Makefile5
-rw-r--r--emulators/suse_linux/Makefile.application14
-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
19 files changed, 96 insertions, 47 deletions
diff --git a/emulators/suse_audio/Makefile b/emulators/suse_audio/Makefile
index c0da4127ded..18f4c3b7119 100644
--- a/emulators/suse_audio/Makefile
+++ b/emulators/suse_audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/09/18 16:25:20 jmmv Exp $
+# $NetBSD: Makefile,v 1.11 2004/04/14 11:31:10 xtraeme Exp $
DISTNAME= audiofile
PKGNAME= suse_audio-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for audio libraries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_base/INSTALL b/emulators/suse_base/INSTALL
index eedbd298ff0..5b55be3a78e 100644
--- a/emulators/suse_base/INSTALL
+++ b/emulators/suse_base/INSTALL
@@ -1,31 +1,65 @@
#!/bin/sh
-# $NetBSD: INSTALL,v 1.3 2003/05/06 17:41:10 jmmv Exp $
+# $NetBSD: INSTALL,v 1.4 2004/04/14 11:31:10 xtraeme Exp $
-emul=linux
if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
+emul=linux
+OPSYS=`/usr/bin/uname -s`
cat <<EOF
==============================================================================
-Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems older
-than 1.5) in your kernel configuration file. (Linux binaries require these
-options in order to work.)
EOF
-if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
- "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
- if [ -e /emul/$emul -o -L /emul/$emul ] || \
- [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
+if [ "$OPSYS" = "NetBSD" ]; then
+ cat <<-EOF
+ Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems older
+ than 1.5) in your kernel configuration file. (Linux binaries require these
+ options in order to work.)
+ EOF
+fi
+
+if [ "$OPSYS" = "FreeBSD" ]; then
+ cat <<-EOF
+ Do not forget to include COMPAT_LINUX in your kernel configuration file.
+ You also need to load "linux.ko" kernel module (using kldload(8) or by
+ setting linux_enable="yes" in /etc/rc.conf.
+ EOF
+fi
+
+if [ "$OPSYS" = "NetBSD" ]; then
+ if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
+ "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
+ if [ -e /emul/$emul -o -L /emul/$emul ] || \
+ [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
cat <<-EOF
IMPORTANT: You must create a symbolic link from /emul/$emul to
${PKG_PREFIX}/emul/$emul in order for this package to work properly.
(It seems there is something else located at /emul/$emul.)
EOF
- else
+ else
mkdir -p /emul
ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
- fi
+ fi
+ fi
+fi
+
+if [ "$OPSYS" = "FreeBSD" ]; then
+ if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
+ "`cd / && cd /compat/$emul 2>/dev/null && pwd -P`" ]; then
+ if [ -e /compat/$emul -o -L /compat/$emul ] || \
+ [ \( -e /compat -o -L /compat \) -a ! -d /compat ]; then
+ cat <<-EOF
+
+ IMPORTANT: You must create a symbolic link from /compat/$emul to
+ ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
+ (It seems there is something else located at /compat/$emul.)
+ EOF
+ else
+ mkdir -p /compat
+ ln -sf ${PKG_PREFIX}/emul/$emul /compat/$emul
+ fi
+ fi
fi
cat <<EOF
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
index 8aeebe7ce72..ccdcde81cd0 100644
--- a/emulators/suse_base/Makefile
+++ b/emulators/suse_base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2004/02/19 11:37:11 cjs Exp $
+# $NetBSD: Makefile,v 1.47 2004/04/14 11:31:10 xtraeme Exp $
DISTNAME= suse_base-${SUSE_VERSION}
PKGREVISION= 5
@@ -16,6 +16,7 @@ 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-1.[7-9]*-powerpc NetBSD-[2-9]*-powerpc
+ONLY_FOR_PLATFORM+= FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
@@ -38,6 +39,8 @@ RPMIGNOREPATH= tmp usr/tmp var
LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
+.include "../../mk/bsd.prefs.mk"
+
do-build:
@for FILE in ${PKGDIR}/PLIST ${FILESDIR}/*.sh; do \
${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \
@@ -61,6 +64,9 @@ do-install:
${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc
${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${EMULDIR}/etc
+.if ${OPSYS} == "FreeBSD"
+ ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
+.endif
${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
>>${PLIST_SRC}
diff --git a/emulators/suse_compat/Makefile b/emulators/suse_compat/Makefile
index 85a815c4745..cec73967532 100644
--- a/emulators/suse_compat/Makefile
+++ b/emulators/suse_compat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2003/09/18 16:25:21 jmmv Exp $
+# $NetBSD: Makefile,v 1.19 2004/04/14 11:31:10 xtraeme Exp $
DISTNAME= compat
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package with old shared libraries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
diff --git a/emulators/suse_devel/Makefile b/emulators/suse_devel/Makefile
index 01a620b5ee7..1e5ea85cfda 100644
--- a/emulators/suse_devel/Makefile
+++ b/emulators/suse_devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2003/07/17 21:36:06 grant Exp $
+# $NetBSD: Makefile,v 1.19 2004/04/14 11:31:10 xtraeme Exp $
DISTNAME= suse_devel-${SUSE_VERSION}
CATEGORIES= emulators
@@ -15,7 +15,7 @@ COMMENT= Linux compatibility package - development tools
DEPENDS+= suse_base>=${SUSE_VERSION}:../suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_freetype2/Makefile b/emulators/suse_freetype2/Makefile
index e76c4cbc4d8..278657993bf 100644
--- a/emulators/suse_freetype2/Makefile
+++ b/emulators/suse_freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/11 19:41:39 cjep Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/14 11:31:11 xtraeme Exp $
DISTNAME= freetype2
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -14,7 +14,7 @@ COMMENT= Linux compatibility package for the FreeType2 library
DEPENDS+= suse_base>=${SUSE_VERSION}:../suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= YES
NO_BUILD= YES
diff --git a/emulators/suse_glx/Makefile b/emulators/suse_glx/Makefile
index 5dc4e305e50..468c36a40e9 100644
--- a/emulators/suse_glx/Makefile
+++ b/emulators/suse_glx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/09/18 16:25:23 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= glx
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for GLX binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_gtk/Makefile b/emulators/suse_gtk/Makefile
index 034cd59d966..2877af1b884 100644
--- a/emulators/suse_gtk/Makefile
+++ b/emulators/suse_gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2003/09/18 16:25:23 jmmv Exp $
+# $NetBSD: Makefile,v 1.12 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= suse_gtk-${SUSE_VERSION}
CATEGORIES= emulators
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for GTK binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_libc5/Makefile b/emulators/suse_libc5/Makefile
index f638182456d..1c454417b32 100644
--- a/emulators/suse_libc5/Makefile
+++ b/emulators/suse_libc5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/01/20 18:19:23 abs Exp $
+# $NetBSD: Makefile,v 1.24 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= shlibs5
PKGNAME= suse_libc5-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for libc5 binaries
DEPENDS+= suse_compat>=${SUSE_VERSION}:../../emulators/suse_compat
-ONLY_FOR_PLATFORM= NetBSD-*-i386
+ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_libjpeg/Makefile b/emulators/suse_libjpeg/Makefile
index 2b8933a4aa1..142d4fe1846 100644
--- a/emulators/suse_libjpeg/Makefile
+++ b/emulators/suse_libjpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/09/18 16:25:26 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= libjpeg
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for the JPEG library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
diff --git a/emulators/suse_libpng/Makefile b/emulators/suse_libpng/Makefile
index dbc1b2da444..a29d1e95e8d 100644
--- a/emulators/suse_libpng/Makefile
+++ b/emulators/suse_libpng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/09/18 16:25:26 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= libpng
PKGREVISION= 1
@@ -14,7 +14,7 @@ COMMENT= Linux compatibility package for the PNG library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
diff --git a/emulators/suse_libtiff/Makefile b/emulators/suse_libtiff/Makefile
index 869a52eb71f..0e50556cb71 100644
--- a/emulators/suse_libtiff/Makefile
+++ b/emulators/suse_libtiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/09/18 16:25:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= libtiff
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for the TIFF library
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= YES
NO_BUILD= YES
diff --git a/emulators/suse_linux/Makefile b/emulators/suse_linux/Makefile
index 16c031c77fc..1ce2dda2b90 100644
--- a/emulators/suse_linux/Makefile
+++ b/emulators/suse_linux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/03/22 03:47:16 kristerw Exp $
+# $NetBSD: Makefile,v 1.25 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= suse_linux-7.3
CATEGORIES= emulators
@@ -23,7 +23,8 @@ DEPENDS+= suse_libc5>=7.3:../suse_libc5
.endif
ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386 \
- NetBSD-[2-9]*-i386 NetBSD-*-powerpc
+ NetBSD-[2-9]*-i386 NetBSD-*-powerpc \
+ FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
index f69e76bf6de..1e88a1e4bc6 100644
--- a/emulators/suse_linux/Makefile.application
+++ b/emulators/suse_linux/Makefile.application
@@ -1,9 +1,17 @@
-# $NetBSD: Makefile.application,v 1.10 2003/09/04 08:21:52 martti Exp $
+# $NetBSD: Makefile.application,v 1.11 2004/04/14 11:31:12 xtraeme Exp $
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
-LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1
+.if ${OPSYS} == "FreeBSD"
+_LINUX_SYSCTL_OSRELEASE?= compat.linux.osrelease
+.else
+_LINUX_SYSCTL_OSRELEASE?= emul.linux.kern.osrelease
+.endif
+
+.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD")
+. if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
+LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n ${_LINUX_SYSCTL_OSRELEASE} 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1
+. endif
. if ${LINUX_KERNEL_OSRELEASE} == "2.0.38"
SUSE_DIR_PREFIX= suse64
diff --git a/emulators/suse_openmotif/Makefile b/emulators/suse_openmotif/Makefile
index b0acc428f2d..ffabae8d62f 100644
--- a/emulators/suse_openmotif/Makefile
+++ b/emulators/suse_openmotif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/09/18 16:25:28 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= openmotif
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for the Motif libraries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_slang/Makefile b/emulators/suse_slang/Makefile
index d68f20b5aba..280dd428bb1 100644
--- a/emulators/suse_slang/Makefile
+++ b/emulators/suse_slang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:36:15 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= slang
PKGREVISION= 1
@@ -13,7 +13,7 @@ COMMENT= Linux compatibility package for slang library
DEPENDS+= suse_base>=${SUSE_VERSION}:../suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
diff --git a/emulators/suse_vmware/Makefile b/emulators/suse_vmware/Makefile
index 09540887f10..d72f43bab4e 100644
--- a/emulators/suse_vmware/Makefile
+++ b/emulators/suse_vmware/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/09/18 16:25:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= fileutils-4.1-154.i386
PKGNAME= suse_vmware-${SUSE_VERSION}
@@ -13,7 +13,7 @@ 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
+ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
diff --git a/emulators/suse_x11/Makefile b/emulators/suse_x11/Makefile
index d1d48f058c5..c0b946ad5d1 100644
--- a/emulators/suse_x11/Makefile
+++ b/emulators/suse_x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/09/18 16:25:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.25 2004/04/14 11:31:12 xtraeme Exp $
DISTNAME= suse_x11-${SUSE_VERSION}
PKGREVISION= 2
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for X11 binaries
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
diff --git a/emulators/suse_xforms/Makefile b/emulators/suse_xforms/Makefile
index 7b7bbbc3bba..21810dd377f 100644
--- a/emulators/suse_xforms/Makefile
+++ b/emulators/suse_xforms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2003/09/18 16:25:30 jmmv Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/14 11:31:13 xtraeme Exp $
DISTNAME= xforms
PKGNAME= suse_${DISTNAME}-${SUSE_VERSION}
@@ -12,7 +12,7 @@ COMMENT= Linux compatibility package for xforms binaries
DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse_x11
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES