Add a symlink for MD include directory. It is just good enough to make it

bootstrap JDK for OpenJDKs.
This commit is contained in:
Jung-uk Kim 2012-09-07 22:58:24 +00:00
parent af3b50a45d
commit 90302aaed2
4 changed files with 6 additions and 0 deletions

View file

@ -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>".

View file

@ -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

View file

@ -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}

View file

@ -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