summaryrefslogtreecommitdiff
path: root/lang/sun-jre13
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 /lang/sun-jre13
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 'lang/sun-jre13')
-rw-r--r--lang/sun-jre13/Makefile.common25
1 files changed, 14 insertions, 11 deletions
diff --git a/lang/sun-jre13/Makefile.common b/lang/sun-jre13/Makefile.common
index 31c573cc3fc..c62e29b6ce7 100644
--- a/lang/sun-jre13/Makefile.common
+++ b/lang/sun-jre13/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2005/09/28 19:04:44 rillig Exp $
+# $NetBSD: Makefile.common,v 1.26 2005/12/12 14:43:25 joerg Exp $
# MASTER_SITES is very special, and must end in "=":
CATEGORIES= lang java
@@ -39,7 +39,19 @@ PLIST_SRC= ${PKGDIR}/PLIST.Darwin
NO_MTREE= yes # since we change PREFIX
LDD= ${TRUE}
-ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i[3-6]86 Darwin-*-*
+ONLY_FOR_PLATFORM= *-*-i386 Darwin-*-*
+
+.if ${OPSYS} != "Darwin"
+. include "../../emulators/suse_linux/Makefile.application"
+
+. if !defined(USE_NATIVE_LINUX)
+. if ${SUSE_DIR_PREFIX} == "suse91"
+DEPENDS+= suse_locale-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_locale
+. endif
+DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
+DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
+. endif
+.endif
_FETCH_MESSAGE= \
${ECHO} "======================================================================"; \
@@ -80,14 +92,5 @@ do-install:
cd ${WRKSRC} && ${PAX} -rwp ma . ${JAVA_HOME}
.endif
-.if ${OPSYS} == "NetBSD"
-. include "../../emulators/suse_linux/Makefile.application"
-. if ${SUSE_DIR_PREFIX} == "suse91"
-DEPENDS+= suse_locale-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_locale
-. endif
-DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
-DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
-.endif
-
.include "../../mk/java-env.mk"
.include "../../mk/bsd.pkg.mk"