aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-24 08:05:49 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-24 08:05:49 +0000
commit898158d06ad74f538c707447443f3884641ca4e0 (patch)
tree44edc7bbfa0f810ba8f4696cc311d62a2411848d /java
parent913194dfb14421da21183a72a21bb39e75d87ada (diff)
downloadports-898158d06ad74f538c707447443f3884641ca4e0.tar.gz
ports-898158d06ad74f538c707447443f3884641ca4e0.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jdk/Makefile1
-rw-r--r--java/jdk/files/patch-aa11
-rw-r--r--java/jdk11/Makefile1
-rw-r--r--java/jdk11/files/patch-aa11
4 files changed, 24 insertions, 0 deletions
diff --git a/java/jdk/Makefile b/java/jdk/Makefile
index fd3b8d241530..107201742b76 100644
--- a/java/jdk/Makefile
+++ b/java/jdk/Makefile
@@ -33,6 +33,7 @@ DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
do-install:
+ @${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
diff --git a/java/jdk/files/patch-aa b/java/jdk/files/patch-aa
new file mode 100644
index 000000000000..2b0cbaab8aae
--- /dev/null
+++ b/java/jdk/files/patch-aa
@@ -0,0 +1,11 @@
+--- include/freebsd/typedefs_md.h 2000/07/24 07:46:26 1.1
++++ include/freebsd/typedefs_md.h 2000/07/24 07:46:46
+@@ -33,7 +33,7 @@
+ */
+ #define _ILP32
+
+-#if (__FreeBSD__ <= 4)
++#if (__FreeBSD__ <= 5)
+ typedef unsigned int uint_t;
+ typedef int int_t;
+ #endif
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index fd3b8d241530..107201742b76 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -33,6 +33,7 @@ DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
do-install:
+ @${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
diff --git a/java/jdk11/files/patch-aa b/java/jdk11/files/patch-aa
new file mode 100644
index 000000000000..2b0cbaab8aae
--- /dev/null
+++ b/java/jdk11/files/patch-aa
@@ -0,0 +1,11 @@
+--- include/freebsd/typedefs_md.h 2000/07/24 07:46:26 1.1
++++ include/freebsd/typedefs_md.h 2000/07/24 07:46:46
+@@ -33,7 +33,7 @@
+ */
+ #define _ILP32
+
+-#if (__FreeBSD__ <= 4)
++#if (__FreeBSD__ <= 5)
+ typedef unsigned int uint_t;
+ typedef int int_t;
+ #endif