From eff6b6a07acd96b3431d0aecacf1fa9d5559a6e5 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 23 Aug 2007 14:54:54 +0000 Subject: . Correctly respect WITHOUT_WEB. This should fix the default amd64 build on 7.x. --- java/jdk16/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'java/jdk16') diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile index 978bf48cbad1..d57d08b39d87 100644 --- a/java/jdk16/Makefile +++ b/java/jdk16/Makefile @@ -116,9 +116,7 @@ BOOTSTRAPJDKDIR?= ${LOCALBASE}/diablo-jdk1.5.0 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15 -.if defined(WITHOUT_WEB) -MAKE_ENV+= DONT_BUILD_DEPLOY="YES" -.else +.if !defined(WITHOUT_WEB) USE_GNOME= desktopfileutils .endif @@ -161,11 +159,11 @@ MAKE_ENV+= ALT_PARALLEL_BUILD_JOBS="${PARALLEL_BUILD_JOBS}" ALL_TARGET= all PLIST_FILES= jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \ - jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile \ - share/applications/sun-java16.desktop \ - share/applications/sun-javaws16.desktop + jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile .if !defined(WITHOUT_WEB) -PLIST_FILES+= share/applications/sun-jcontrol16.desktop +PLIST_FILES+= share/applications/sun-java16.desktop \ + share/applications/sun-javaws16.desktop \ + share/applications/sun-jcontrol16.desktop .endif PLIST_DIRS= jdk${JDK_VERSION}/jre/.systemPrefs @@ -311,6 +309,9 @@ post-patch: -e "s:%%JDK_VERSION%%:${JDK_VERSION}:g" \ ${WRKSRC}/$${file}; \ done +.if defined(WITHOUT_WEB) + @${RM} ${WRKDIR}/deploy/make/Makefile +.endif .if defined(WITH_LINUX_BOOTSTRAP) pre-build: @@ -370,12 +371,12 @@ do-install: ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} cd ${JDKIMAGEDIR} && ${FIND} . \ | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION} +.if !defined(WITHOUT_WEB) ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${JDKIMAGEDIR}/jre/lib/desktop/applications/sun-java.desktop \ ${PREFIX}/share/applications/sun-java16.desktop ${INSTALL_DATA} ${JDKIMAGEDIR}/jre/lib/desktop/applications/sun-javaws.desktop \ ${PREFIX}/share/applications/sun-javaws16.desktop -.if !defined(WITHOUT_WEB) ${INSTALL_DATA} ${JDKIMAGEDIR}/jre/lib/desktop/applications/sun_java.desktop \ ${PREFIX}/share/applications/sun-jcontrol16.desktop .endif -- cgit v1.2.3