. Reorder the check for the source and patchset so that the failure

messages are produced in the order that they were intended.
This commit is contained in:
Greg Lewis
2003-06-15 05:53:02 +00:00
parent de2d4c3c36
commit fae59e03a3
2 changed files with 22 additions and 22 deletions

View File

@@ -76,6 +76,17 @@ PLIST_SUB+= DEBUG:=""
.include <bsd.port.pre.mk>
# Check for patchset
.if !exists(${DISTDIR}/${PATCHSETFILE}) && !defined(PACKAGE_BUILDING)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
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 ${DISTDIR}.\n
.endif
# Check for JDK sources
.if !exists(${DISTDIR}/${SRCFILE}) && !defined(PACKAGE_BUILDING)
ECHO_MSG=/usr/bin/printf
@@ -90,17 +101,6 @@ download the file \"${SRCFILE}\". Please place this file in\n\
${DISTDIR}.\n
.endif
# Check for patchset
.if !exists(${DISTDIR}/${PATCHSETFILE}) && !defined(PACKAGE_BUILDING)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
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 ${DISTDIR}.\n
.endif
pre-patch:
@${MKDIR} ${WRKSRC}
.for dir in build src ext/i18n/build ext/i18n/src ext/iiimp/build