From b80eaf873ae2be14cf9e8768a9cad5a79076b14b Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 28 Jul 2002 13:16:46 +0000 Subject: Uncomment inadvertently out-commented JDK_HOME definition. Sprinkle some Darwin ifdefs. Now that we can't rely on "emulators/suse_linux/Makefile.application" being included, include bsd.pkg.mk directly. --- lang/sun-jre13/Makefile.common | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/sun-jre13/Makefile.common b/lang/sun-jre13/Makefile.common index 8d63e43df96..d6b688f943a 100644 --- a/lang/sun-jre13/Makefile.common +++ b/lang/sun-jre13/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.2 2002/07/28 11:57:41 schmonz Exp $ +# $NetBSD: Makefile.common,v 1.3 2002/07/28 13:16:46 schmonz Exp $ # MASTER_SITES is very special, and must end in "=": CATEGORIES= lang @@ -21,7 +21,11 @@ NO_BIN_ON_FTP= ${RESTRICTED} # We need to overwrite JDK_HOME, since JRE and JDK need to be # installed in the same directory -# JDK_HOME:= ${LOCALBASE}/java/sun-1.3.1 +.if ${OPSYS} == "Darwin" +JDK_HOME= /usr +.else +JDK_HOME:= ${LOCALBASE}/java/sun-1.3.1 +.endif MESSAGE_SUBST+= JDK_HOME=${JDK_HOME} # Needs to be after bsd.prefs.mk @@ -58,8 +62,11 @@ do-install: cd ${WRKSRC} && ${PAX} -rw . ${PREFIX} . endif +.if ${OPSYS} != "Darwin" .include "../../emulators/suse_linux/Makefile.application" +.endif +.include "../../mk/bsd.pkg.mk" # These need to be after bsd.pkg.mk .if ${OPSYS} == "Linux" -- cgit v1.2.3