diff options
author | abs <abs@pkgsrc.org> | 2009-02-20 11:56:55 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-02-20 11:56:55 +0000 |
commit | ae5ccf5ed6efeaa20111919cdd4becd08fdb82eb (patch) | |
tree | 9ac57ce5331e17e0f109245cf34336a7dd1061cf /lang/sun-jre6 | |
parent | bef17466d6a9ecc18e55d0c9a2a85e518e15f2ba (diff) | |
download | pkgsrc-ae5ccf5ed6efeaa20111919cdd4becd08fdb82eb.tar.gz |
since registration.xml is only generated the first time a package is built
on a box, just remove it in post-install so we can have a consistent
package build
Diffstat (limited to 'lang/sun-jre6')
-rw-r--r-- | lang/sun-jre6/Makefile | 6 | ||||
-rw-r--r-- | lang/sun-jre6/PLIST.linux-i386 | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lang/sun-jre6/Makefile b/lang/sun-jre6/Makefile index 87e7b662821..3041eef981c 100644 --- a/lang/sun-jre6/Makefile +++ b/lang/sun-jre6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2009/02/08 00:23:20 christos Exp $ +# $NetBSD: Makefile,v 1.17 2009/02/20 11:56:55 abs Exp $ # Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce # Note: Update DOWNLOAD_NAME when you update the JRE version @@ -91,6 +91,10 @@ pre-install: 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 # diff --git a/lang/sun-jre6/PLIST.linux-i386 b/lang/sun-jre6/PLIST.linux-i386 index e4d2ba8e33d..1692dcbf098 100644 --- a/lang/sun-jre6/PLIST.linux-i386 +++ b/lang/sun-jre6/PLIST.linux-i386 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.linux-i386,v 1.11 2009/02/19 16:27:26 abs Exp $ +@comment $NetBSD: PLIST.linux-i386,v 1.12 2009/02/20 11:56:55 abs Exp $ bin/sun6-java bin/sun6-javaws bin/sun6-keytool @@ -249,7 +249,6 @@ java/sun-6/lib/security/java.security.default java/sun-6/lib/security/javaws.policy java/sun-6/lib/security/local_policy.jar java/sun-6/lib/servicetag/jdk_header.png -java/sun-6/lib/servicetag/registration.xml java/sun-6/lib/sound.properties.default java/sun-6/lib/zi/Africa/Abidjan java/sun-6/lib/zi/Africa/Accra |