From 64f263db6193795a37096eab9f3279469b04f5ed Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Tue, 4 Mar 2003 03:07:17 +0000
Subject: Don't set IGNORE when PACKAGE_BUILDING

---
 java/jdk13/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'java/jdk13')

diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index f32224ec5a7d..034053061605 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -133,7 +133,7 @@ TAR=		gtar	# Necessary for proper extraction of sources
 .endif
 
 # Check for JDK sources
-.if !exists(${DISTDIR}/${SRCFILE})
+.if !exists(${DISTDIR}/${SRCFILE}) && !defined(PACKAGE_BUILDING)
 ECHO_MSG=/usr/bin/printf
 IGNORE= :\n\
 Because of licensing restrictions, you must fetch the source distribution\n\
@@ -147,7 +147,7 @@ ${DISTDIR}.\n
 .endif
 
 # Check for patchset
-.if !exists(${DISTDIR}/${PATCHSETFILE})
+.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\
-- 
cgit v1.2.3