port fix.

Alfred Perlstein alfred at freebsd.org
Fri Dec 26 15:35:47 PST 2003


Using DISTFILES doesn't work because it appears not to be
defined until after bsd.port.post.mk runs, and by then it's
too late to set IGNORE.

Can I commit this?

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/j2sdkee13/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	24 Sep 2003 03:28:24 -0000	1.3
+++ Makefile	26 Dec 2003 23:33:51 -0000
@@ -27,7 +27,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING)
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
 IGNORE=		You must manually fetch the Java 2 SDK Enterprise Edition\
 		${J2SDKEEVERSION} tarball from ${DOWNLOAD_URL}; download\
 		the \"Linux Install\" into ${DISTDIR} and run ${MAKE} again


-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the freebsd-ports mailing list