From b46f783aec1290655c35e4206528ebfc5f0703f7 Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 20 Feb 2009 14:37:58 +0000 Subject: move registration.xml fix to pre-install and WRCSRC - suggested by obache@ --- lang/sun-jre6/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lang/sun-jre6/Makefile b/lang/sun-jre6/Makefile index 3041eef981c..97f4ee05454 100644 --- a/lang/sun-jre6/Makefile +++ b/lang/sun-jre6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/02/20 11:56:55 abs Exp $ +# $NetBSD: Makefile,v 1.18 2009/02/20 14:37:58 abs Exp $ # Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce # Note: Update DOWNLOAD_NAME when you update the JRE version @@ -87,14 +87,12 @@ do-configure: done pre-install: + # This file is generated the *first* time the package is built on a box + ${RM} -f ${WRKSRC}/lib/servicetag/registration.xml .if !empty(PKG_OPTIONS:Msun-jre-jce) cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security .endif -# This file is generated the *first* time the package is built on a box -post-install: - ${RM} -f ${DESTDIR}${PREFIX}/java/sun-6/lib/servicetag/registration.xml - # # re-create sfiles.mk from properties and config files # -- cgit v1.2.3