aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-06-14 19:08:49 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-06-14 19:08:49 +0000
commit2f62ed9f9d11d51f997d75157b2f7168e3c7cfc5 (patch)
tree5e0b207b20013294fa1fa5b69868e645c80a86be /java
parent73e6113793e112ce73debc62d9e43c8a17b000e1 (diff)
downloadports-2f62ed9f9d11d51f997d75157b2f7168e3c7cfc5.tar.gz
ports-2f62ed9f9d11d51f997d75157b2f7168e3c7cfc5.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jdk12/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile
index 7a6888130963..3198ddeba36b 100644
--- a/java/jdk12/Makefile
+++ b/java/jdk12/Makefile
@@ -17,8 +17,8 @@ MAINTAINER= glewis@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
zip:${PORTSDIR}/archivers/zip \
- ${JDK11DIR}/bin/javac:${PORTSDIR}/java/jdk \
- ${JDK12DIR}/bin/javac:${PORTSDIR}/java/linux-jdk \
+ ${JDK11DIR}/bin/javac:${PORTSDIR}/java/jdk11 \
+ ${JDK12DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk12 \
${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif \
${NONEXISTENT}:${PORTSDIR}/java/jfc:extract
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
@@ -32,7 +32,7 @@ JDK_BETALEVEL= 10
JDK11DIR?= ${LOCALBASE}/jdk1.1.8
JFC11DIR?= ${WRKDIRPREFIX}${.CURDIR}/../../java/jfc/work/swing-1.1.1fcs
-JDK12DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION}
+JDK12DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
@@ -55,6 +55,8 @@ JDKIMAGEDIR= ${WRKSRC}/jdk-image-i386
JDKIMAGEDIR_G= ${WRKSRC}/jdk-debug-image-i386
JREIMAGEDIR= ${WRKSRC}/jre-image-i386
+CPIO?= /usr/bin/cpio
+
.if defined(NODEBUG)
PLIST_SUB+= DEBUG:="@comment "
PKGNAMESUFFIX= -nodebug
@@ -89,7 +91,7 @@ pre-patch:
post-build:
for dir in ${JDKIMAGEDIR} ${JDKIMAGEDIR_G} ${JREIMAGEDIR}; do \
- for file in `find $${dir} -type f -name "*.so"`; do \
+ for file in `${FIND} $${dir} -type f -name "*.so"`; do \
if [ -f $${file}.${JDK_VERSION} ]; then \
${RM} $${file}.${JDK_VERSION}; \
${LN} -sf `${BASENAME} $${file}` $${file}.${JDK_VERSION}; \
@@ -111,11 +113,11 @@ pre-install:
do-install:
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
- cd ${JDKIMAGEDIR} && /usr/bin/find . \
- | /usr/bin/cpio -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
+ cd ${JDKIMAGEDIR} && ${FIND} . \
+ | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
.if !defined(NODEBUG)
- cd ${JDKIMAGEDIR_G} && /usr/bin/find . \
- | /usr/bin/cpio -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
+ cd ${JDKIMAGEDIR_G} && ${FIND} . \
+ | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
.endif
post-install: