Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2003 15:35:42 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        des@freebsd.org
Cc:        ports@freebsd.org
Subject:   port fix.
Message-ID:  <20031226233542.GM77132@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031226233542.GM77132>