Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 22:58:24 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303834 - in head/java: linux-sun-jdk16 linux-sun-jdk17
Message-ID:  <201209072258.q87MwP81078161@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209072258.q87MwP81078161>