diff options
author | jkim <jkim@FreeBSD.org> | 2012-09-08 06:58:24 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-09-08 06:58:24 +0800 |
commit | 0ff8866d4ade085cdd7814d628d647ac44decd7e (patch) | |
tree | 6534066b2a8f745bffbae1613dea598c8d79382a | |
parent | 244a0f84089c432d78efa8aa4e3e7d7c3d347e61 (diff) | |
download | freebsd-ports-gnome-0ff8866d4ade085cdd7814d628d647ac44decd7e.tar.gz freebsd-ports-gnome-0ff8866d4ade085cdd7814d628d647ac44decd7e.tar.zst freebsd-ports-gnome-0ff8866d4ade085cdd7814d628d647ac44decd7e.zip |
Add a symlink for MD include directory. It is just good enough to make it
bootstrap JDK for OpenJDKs.
-rw-r--r-- | java/linux-sun-jdk16/Makefile | 2 | ||||
-rw-r--r-- | java/linux-sun-jdk16/pkg-plist | 1 | ||||
-rw-r--r-- | java/linux-sun-jdk17/Makefile | 2 | ||||
-rw-r--r-- | java/linux-sun-jdk17/pkg-plist | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/java/linux-sun-jdk16/Makefile b/java/linux-sun-jdk16/Makefile index e12fd8e3d83f..b184258b6053 100644 --- a/java/linux-sun-jdk16/Makefile +++ b/java/linux-sun-jdk16/Makefile @@ -7,6 +7,7 @@ PORTNAME= jdk PORTVERSION= ${DL_JDK_VERSION:S/_/./g} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux-sun- @@ -76,6 +77,7 @@ do-extract: post-patch: ${REINPLACE_CMD} -i.orig -e 's:^#!/bin/bash:#!/bin/sh:' ${WRKSRC}/bin/jcontrol @${FIND} ${WRKSRC} -name '*.orig' -delete + @(cd ${WRKSRC}/include; ${LN} -s linux freebsd) # XXX: This is missing a "${BRANDELF} -t Linux <executables>". diff --git a/java/linux-sun-jdk16/pkg-plist b/java/linux-sun-jdk16/pkg-plist index 65a8b4b1447a..972d3da39633 100644 --- a/java/linux-sun-jdk16/pkg-plist +++ b/java/linux-sun-jdk16/pkg-plist @@ -3200,6 +3200,7 @@ %%DEMO%%%%T%%/demo/scripting/jconsole-plugin/src/scripts/sysprops.js %%DEMO%%%%T%%/demo/scripting/jconsole-plugin/src/scripts/verbose.js %%T%%/include/classfile_constants.h +%%T%%/include/freebsd %%T%%/include/jawt.h %%T%%/include/jdwpTransport.h %%T%%/include/jni.h diff --git a/java/linux-sun-jdk17/Makefile b/java/linux-sun-jdk17/Makefile index 8c22e171f6e4..3d02426f0463 100644 --- a/java/linux-sun-jdk17/Makefile +++ b/java/linux-sun-jdk17/Makefile @@ -7,6 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux-sun- @@ -78,6 +79,7 @@ post-patch: @${REINPLACE_CMD} -i.orig -e 's:^#!/bin/bash:#!/bin/sh:' ${WRKSRC}/${script} .endfor @${FIND} ${WRKSRC} -name '*.orig' -delete + @(cd ${WRKSRC}/include; ${LN} -s linux freebsd) do-install: @${MKDIR} ${APP_HOME} diff --git a/java/linux-sun-jdk17/pkg-plist b/java/linux-sun-jdk17/pkg-plist index 2a4fe39b2eb2..5ff3cf7e0c60 100644 --- a/java/linux-sun-jdk17/pkg-plist +++ b/java/linux-sun-jdk17/pkg-plist @@ -905,6 +905,7 @@ %%DEMO%%%%T%%/demo/scripting/jconsole-plugin/jconsole-plugin.jar %%DEMO%%%%T%%/demo/scripting/jconsole-plugin/src.zip %%T%%/include/classfile_constants.h +%%T%%/include/freebsd %%T%%/include/jawt.h %%T%%/include/jdwpTransport.h %%T%%/include/jni.h |