aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-09-18 10:12:03 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-09-18 10:12:03 +0000
commit957134d7376c8c859859fde7d54f9624c10cad5a (patch)
tree4f87900447e3628da82ea401723da686cad81bdb /java
parentaa4260e8638e9952a4cde80d3df0d80e6b89dee1 (diff)
downloadports-957134d7376c8c859859fde7d54f9624c10cad5a.tar.gz
ports-957134d7376c8c859859fde7d54f9624c10cad5a.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jdk12/Makefile12
-rw-r--r--java/jdk12/distinfo2
-rw-r--r--java/jdk12/files/patch-aa15
-rw-r--r--java/jdk12/pkg-plist7
4 files changed, 21 insertions, 15 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile
index 1210369400f9..e4f71dbc0d4a 100644
--- a/java/jdk12/Makefile
+++ b/java/jdk12/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= java devel
MASTER_SITES= # http://www.sun.com/software/java2/download.html
# http://www.eyesbeyond.com/freebsddom/java/jdk.html
DISTFILES= ${PORTNAME}${JDK_VERSION:S/./_/g}-src${EXTRACT_SUFX} \
- freebsd-jdk122-patches-${JDK_PATCHSET_VERSION}.tar.gz
+ bsd-jdk122-patches-${JDK_PATCHSET_VERSION}.tar.gz
MAINTAINER= glewis@FreeBSD.org
@@ -28,10 +28,10 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif \
${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
-WRKSRC= ${WRKDIR}/build/freebsd
+WRKSRC= ${WRKDIR}/build/bsd
JDK_VERSION= 1.2.2
-JDK_PATCHSET_VERSION= 10
+JDK_PATCHSET_VERSION= 11
JDK11DIR?= ${LOCALBASE}/jdk1.1.8
JFC11DIR?= ${WRKDIRPREFIX}${.CURDIR}/../../java/jfc/work/swing-1.1.1fcs
@@ -55,7 +55,7 @@ MAKE_ENV= HAVE_DPS="no" \
CLASSPATH="" \
JAVA_COMPILER=""
ALL_TARGET= release-images
-PATCH_CMD= ${PATCH} -p1 -s <
+PATCH_CMD= ${PATCH} -p1 <
PLIST_SUB+= JDK_VERSION=${JDK_VERSION}
JDKIMAGEDIR= ${WRKSRC}/jdk-image-i386
@@ -86,11 +86,11 @@ IGNORE=You must manually fetch the source distribution and FreeBSD patches (${DI
pre-patch:
@${MKDIR} ${WRKSRC}
.for dir in build src ext/i18n/build ext/i18n/src ext/iiimp/build
- @cd ${WRKDIR}/${dir} && ${RM} -rf freebsd && ${CP} -R solaris freebsd
+ @cd ${WRKDIR}/${dir} && ${RM} -rf bsd && ${CP} -R solaris bsd
.endfor
@cd ${WRKSRC} && ${PATCH_CMD} ${WRKDIR}/build.patches && \
cd ../share && ${PATCH_CMD} ${WRKDIR}/buildshare.patches && \
- cd ../../src/freebsd && ${PATCH_CMD} ${WRKDIR}/src.patches && \
+ cd ../../src/bsd && ${PATCH_CMD} ${WRKDIR}/src.patches && \
cd ../share && ${PATCH_CMD} ${WRKDIR}/srcshare.patches && \
cd ../../ext && ${PATCH_CMD} ${WRKDIR}/ext.patches
@${MKDIR} ${WRKSRC}/1.1_libs
diff --git a/java/jdk12/distinfo b/java/jdk12/distinfo
index 17199dffaa9d..83b2e6c9894d 100644
--- a/java/jdk12/distinfo
+++ b/java/jdk12/distinfo
@@ -1,2 +1,2 @@
MD5 (jdk1_2_2-src.tar.gz) = 84a81b3e5f56f73bd4cbee57f895dba7
-MD5 (freebsd-jdk122-patches-10.tar.gz) = 7c01d281b3ac9d5f5f3036749f79492e
+MD5 (bsd-jdk122-patches-11.tar.gz) = 7a883419c5193278443d60f67a99a72c
diff --git a/java/jdk12/files/patch-aa b/java/jdk12/files/patch-aa
index d773e053bc47..c5ac59a63b98 100644
--- a/java/jdk12/files/patch-aa
+++ b/java/jdk12/files/patch-aa
@@ -1,21 +1,20 @@
---- makefiles/Defs-freebsd.gmk 2000/10/13 00:16:56 1.1
-+++ makefiles/Defs-freebsd.gmk 2000/10/13 00:20:36
-@@ -59,11 +59,11 @@
+$FreeBSD$
+
+--- makefiles/Defs-bsd.gmk 2000/10/13 00:16:56 1.1
++++ makefiles/Defs-bsd.gmk 2000/10/13 00:20:36
+@@ -59,10 +59,10 @@
GCC_STYLE = -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
GCC_WARNINGS = -W -Wall $(GCC_STYLE) $(GCC_INHIBIT)
CFLAGS_COMMON = $(GCC_WARNINGS) -pipe
-CFLAGS_OPT = $(POPT) -fomit-frame-pointer # -mcpu=i686
--CFLAGS_DBG = -g
+CFLAGS_OPT = $(POPT) $(SYS_CFLAGS) #-fomit-frame-pointer # -mcpu=i686
-+CFLAGS_DBG = -g3
+ CFLAGS_DBG = -g3
CXXFLAGS_COMMON = $(GCC_WARNINGS) -pipe -DFD_SETSIZE=2048
-CXXFLAGS_OPT = $(POPT) -fomit-frame-pointer # -mcpu=i686
--CXXFLAGS_DBG = -g
+CXXFLAGS_OPT = $(POPT) $(SYS_CFLAGS) #-fomit-frame-pointer # -mcpu=i686
-+CXXFLAGS_DBG = -g3
+ CXXFLAGS_DBG = -g3
endif
- ifneq ($(CC_VERSION), gcc)
@@ -232,7 +232,7 @@
_OPT = -xO4
else
diff --git a/java/jdk12/pkg-plist b/java/jdk12/pkg-plist
index 06bd85b853ae..6b926e4937ed 100644
--- a/java/jdk12/pkg-plist
+++ b/java/jdk12/pkg-plist
@@ -708,6 +708,9 @@ jdk%%JDK_VERSION%%/jre/lib/i386/libcmm.so.1.2.2
jdk%%JDK_VERSION%%/jre/lib/i386/libdcpr.so
jdk%%JDK_VERSION%%/jre/lib/i386/libdcpr.so.1.2.2
%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libdcpr_g.so
+jdk%%JDK_VERSION%%/jre/lib/i386/libdt_socket.so
+jdk%%JDK_VERSION%%/jre/lib/i386/libdt_socket.so.1.2.2
+%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libdt_socket_g.so
jdk%%JDK_VERSION%%/jre/lib/i386/libfontmanager.so
jdk%%JDK_VERSION%%/jre/lib/i386/libfontmanager.so.1.2.2
%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libfontmanager_g.so
@@ -717,6 +720,9 @@ jdk%%JDK_VERSION%%/jre/lib/i386/libhprof.so.1.2.2
jdk%%JDK_VERSION%%/jre/lib/i386/libjava.so
jdk%%JDK_VERSION%%/jre/lib/i386/libjava.so.1.2.2
%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjava_g.so
+jdk%%JDK_VERSION%%/jre/lib/i386/libjdwp.so
+jdk%%JDK_VERSION%%/jre/lib/i386/libjdwp.so.1.2.2
+%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjdwp_g.so
jdk%%JDK_VERSION%%/jre/lib/i386/libjpeg.so
jdk%%JDK_VERSION%%/jre/lib/i386/libjpeg.so.1.2.2
%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjpeg_g.so
@@ -752,6 +758,7 @@ jdk%%JDK_VERSION%%/jre/lib/security/cacerts
jdk%%JDK_VERSION%%/jre/lib/security/java.policy
jdk%%JDK_VERSION%%/jre/lib/security/java.security
jdk%%JDK_VERSION%%/lib/dt.jar
+jdk%%JDK_VERSION%%/lib/jpda.jar
jdk%%JDK_VERSION%%/lib/tools.jar
jdk%%JDK_VERSION%%/src.jar
@exec mkdir -p %D/share/java/classes