From a05a8eb9ddcb16f43607f5858b17b27b623a8667 Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 14 May 2006 14:40:36 +0000 Subject: Fix CHECK_FILES build - use REQD_DIRS instead of OWN_DIRS as the latter ends up in CHECK_FILES_SKIP causing a check-files error (files both listed in PLIST and CHECK_FILES_SKIP are reported as an "error"). Besides OWN_DIRS creation at ADDing time is subject to PKG_CONFIG setting, so these directories might not be created which would cause problems. - Add $JAVA_HOME/lib/$MACHINE_ARCH/client/classes.jsa to CHECK_FILES_SKIP --- lang/sun-jre15/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'lang') diff --git a/lang/sun-jre15/Makefile b/lang/sun-jre15/Makefile index 92cef8361d2..b331930aa10 100644 --- a/lang/sun-jre15/Makefile +++ b/lang/sun-jre15/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/03/14 14:09:34 jlam Exp $ +# $NetBSD: Makefile,v 1.31 2006/05/14 14:40:36 seb Exp $ # Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce @@ -12,12 +12,12 @@ SHORT_NAME= JRE WRKSRC= ${WRKDIR}/${DISTNAME:S/-//:S/_/./:S/_/./:S/-linux-i586//} JAVA_WRAPPERS= java javaws keytool orbd policytool rmid rmiregistry \ servertool tnameserv -OWN_DIRS= ${JAVA_HOME} -OWN_DIRS+= ${JAVA_HOME}/lib -OWN_DIRS+= ${JAVA_HOME}/lib/applet -OWN_DIRS+= ${JAVA_HOME}/lib/images -OWN_DIRS+= ${JAVA_HOME}/lib/images/cursors -OWN_DIRS+= ${JAVA_HOME}/lib/security +REQD_DIRS= ${JAVA_HOME} +REQD_DIRS+= ${JAVA_HOME}/lib +REQD_DIRS+= ${JAVA_HOME}/lib/applet +REQD_DIRS+= ${JAVA_HOME}/lib/images +REQD_DIRS+= ${JAVA_HOME}/lib/images/cursors +REQD_DIRS+= ${JAVA_HOME}/lib/security CONF_FILES= # empty .sinclude "sfiles.mk" .for FILE in ${SFILES} @@ -35,6 +35,8 @@ DEINSTALL_TEMPLATE+= ${PKGDIR}/DEINSTALL.tmpl FILES_SUBST+= JAVA_HOME=${JAVA_HOME:Q} FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH:Q} +CHECK_FILES_SKIP+= ${JAVA_HOME}/lib/${MACHINE_ARCH}/client/classes.jsa + .if !empty(PKG_OPTIONS:Msun-jre-jce) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jce_policy-1_5_0.zip PLIST_SUBST+= SUN_JRE15_USE_JCE="" -- cgit v1.2.3