diff options
Diffstat (limited to 'lang/sun-jre14/Makefile.common')
-rw-r--r-- | lang/sun-jre14/Makefile.common | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/lang/sun-jre14/Makefile.common b/lang/sun-jre14/Makefile.common index 5d667c1e145..691b6e71bbf 100644 --- a/lang/sun-jre14/Makefile.common +++ b/lang/sun-jre14/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2002/09/30 23:56:55 jlam Exp $ +# $NetBSD: Makefile.common,v 1.4 2002/10/13 07:45:34 jlam Exp $ CATEGORIES= lang EXTRACT_SUFX= .bin @@ -18,19 +18,21 @@ NO_BIN_ON_FTP= ${RESTRICTED} .include "../../mk/bsd.prefs.mk" -# We need to overwrite JDK_HOME, since JRE and JDK need to be -# installed in the same directory -JDK_HOME:= ${LOCALBASE}/java/sun-1.4.0 -MESSAGE_SUBST+= JDK_HOME=${JDK_HOME} +JVM_HOME= ${LOCALBASE}/java/sun-1.4.0 -# since we change PREFIX: -NO_MTREE= yes +.if ${OPSYS} == "NetBSD" +DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat +DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11 +.endif -ONLY_FOR_PLATFORM= NetBSD-1.5Z[A-Z]-i386 NetBSD-1.[6-9]*-i386 Linux-*-i[3-6]86 +USE_BUILDLINK2= # defined +NO_CONFIGURE= # defined +NO_BUILD= # defined +NO_MTREE= # defined, since we change PREFIX LDD= ${TRUE} -NO_BUILD= # defined -USE_BUILDLINK2= # defined +ONLY_FOR_PLATFORM= NetBSD-1.5Z[A-Z]-i386 NetBSD-1.[6-9]*-i386 +ONLY_FOR_PLATFORM+= Linux-*-i[3-6]86 post-fetch: @${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} @@ -38,3 +40,9 @@ post-fetch: do-install: ${INSTALL_PROGRAM_DIR} ${PREFIX} cd ${WRKSRC} && ${PAX} -rw . ${PREFIX} + +.if ${OPSYS} == "NetBSD" +. include "../../mk/bsd.pkg.mk" +.else +. include "../../emulators/suse_linux/Makefile.application" +.endif |