summaryrefslogtreecommitdiff
path: root/java/jdk12
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-02-20 10:39:52 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-02-20 10:39:52 +0000
commit0ed1ecd4dc851c9e5557cbfb38d4159653fbae40 (patch)
tree80689eb5e6e5755a81cebecd8c57d1461abdadab /java/jdk12
parentUpdate to the 2003.02.19 snapshot of Wine. (diff)
. Make portlint happier.
Notes
Notes: svn path=/head/; revision=75935
Diffstat (limited to 'java/jdk12')
-rw-r--r--java/jdk12/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile
index cb215c42e954..b984f9125929 100644
--- a/java/jdk12/Makefile
+++ b/java/jdk12/Makefile
@@ -86,7 +86,7 @@ with a web browser and follow the second \"Download\" link for the\n\
but you can create an account on this page. After registration and\n\
accepting the Sun Community Source License, select \"JDK-${JDK_VERSION}\" and\n\
download the file \"${SRCFILE}\". Please place this file in\n\
-/usr/ports/distfiles.\n
+${DISTDIR}.\n
.endif
# Check for patchset
@@ -97,13 +97,12 @@ The source distribution exists on your system, but due to\n\
licensing restrictions you still need to download the\n\
patchset, ${PATCHSETFILE}, from\n\
http://www.eyesbeyond.com/freebsddom/java/jdk.html.\n\
-Please place the patchset in /usr/ports/distfiles.\n
+Please place the patchset in ${DISTDIR}.\n
.endif
-
pre-patch:
@${MKDIR} ${WRKSRC}
-.for dir in build src ext/i18n/build ext/i18n/src ext/iiimp/build
+.for dir in build src ext/i18n/build ext/i18n/src ext/iiimp/build
@cd ${WRKDIR}/${dir} && ${RM} -rf bsd && ${CP} -R solaris bsd
.endfor
@cd ${WRKSRC} && ${PATCH_CMD} ${WRKDIR}/build.patches && \
@@ -118,7 +117,7 @@ pre-patch:
pre-build:
@if [ "$${WRKDIRPREFIX}" -a \
-L "/compat/linux/$${WRKDIRPREFIX}" -a \
- x`ls -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \
+ x`ls -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | ${AWK} '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \
then \
${ECHO_MSG} "Please set WRKDIRPREFIX to something which doesn't"; \
${ECHO_MSG} "have a matching symbolic link in /compat/linux."; \