svn commit: r303834 - in head/java: linux-sun-jdk16 linux-sun-jdk17
Jung-uk Kim
jkim at FreeBSD.org
Fri Sep 7 22:58:25 UTC 2012
Author: jkim
Date: Fri Sep 7 22:58:24 2012
New Revision: 303834
URL: http://svn.freebsd.org/changeset/ports/303834
Log:
Add a symlink for MD include directory. It is just good enough to make it
bootstrap JDK for OpenJDKs.
Modified:
head/java/linux-sun-jdk16/Makefile
head/java/linux-sun-jdk16/pkg-plist
head/java/linux-sun-jdk17/Makefile
head/java/linux-sun-jdk17/pkg-plist
Modified: head/java/linux-sun-jdk16/Makefile
==============================================================================
--- head/java/linux-sun-jdk16/Makefile Fri Sep 7 22:32:47 2012 (r303833)
+++ head/java/linux-sun-jdk16/Makefile Fri Sep 7 22:58:24 2012 (r303834)
@@ -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>".
Modified: head/java/linux-sun-jdk16/pkg-plist
==============================================================================
--- head/java/linux-sun-jdk16/pkg-plist Fri Sep 7 22:32:47 2012 (r303833)
+++ head/java/linux-sun-jdk16/pkg-plist Fri Sep 7 22:58:24 2012 (r303834)
@@ -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
Modified: head/java/linux-sun-jdk17/Makefile
==============================================================================
--- head/java/linux-sun-jdk17/Makefile Fri Sep 7 22:32:47 2012 (r303833)
+++ head/java/linux-sun-jdk17/Makefile Fri Sep 7 22:58:24 2012 (r303834)
@@ -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}
Modified: head/java/linux-sun-jdk17/pkg-plist
==============================================================================
--- head/java/linux-sun-jdk17/pkg-plist Fri Sep 7 22:32:47 2012 (r303833)
+++ head/java/linux-sun-jdk17/pkg-plist Fri Sep 7 22:58:24 2012 (r303834)
@@ -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
More information about the svn-ports-head
mailing list