Add a symlink for MD include directory. It is just good enough to make it
bootstrap JDK for OpenJDKs.
This commit is contained in:
@@ -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>".
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user