diff options
author | glewis <glewis@FreeBSD.org> | 2003-02-20 10:39:52 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-02-20 10:39:52 +0000 |
commit | 5344fbcd26e8c76bf93a821492aab9c22d556d5f (patch) | |
tree | 17100cd2c83fa9c9fa18154f46d870a4d036bb54 /java/jdk12 | |
parent | e2847483ae9160222a91e1ed4af91f2199faa9b4 (diff) | |
download | FreeBSD-ports-5344fbcd26e8c76bf93a821492aab9c22d556d5f.zip FreeBSD-ports-5344fbcd26e8c76bf93a821492aab9c22d556d5f.tar.gz |
. Make portlint happier.
Diffstat (limited to 'java/jdk12')
-rw-r--r-- | java/jdk12/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile index cb215c42..b984f91 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."; \ |