aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jdk17
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-09-08 06:58:24 +0800
committerjkim <jkim@FreeBSD.org>2012-09-08 06:58:24 +0800
commit0ff8866d4ade085cdd7814d628d647ac44decd7e (patch)
tree6534066b2a8f745bffbae1613dea598c8d79382a /java/linux-sun-jdk17
parent244a0f84089c432d78efa8aa4e3e7d7c3d347e61 (diff)
downloadfreebsd-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.
Diffstat (limited to 'java/linux-sun-jdk17')
-rw-r--r--java/linux-sun-jdk17/Makefile2
-rw-r--r--java/linux-sun-jdk17/pkg-plist1
2 files changed, 3 insertions, 0 deletions
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