pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sun-jre6 since registration.xml is only generated...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9e553798206
branches:  trunk
changeset: 554783:d9e553798206
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 20 11:56:55 2009 +0000

description:
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:

 lang/sun-jre6/Makefile         |  6 +++++-
 lang/sun-jre6/PLIST.linux-i386 |  3 +--
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 34929c706ee0 -r d9e553798206 lang/sun-jre6/Makefile
--- a/lang/sun-jre6/Makefile    Fri Feb 20 11:46:32 2009 +0000
+++ b/lang/sun-jre6/Makefile    Fri Feb 20 11:56:55 2009 +0000
@@ -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 @@
        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 -r 34929c706ee0 -r d9e553798206 lang/sun-jre6/PLIST.linux-i386
--- a/lang/sun-jre6/PLIST.linux-i386    Fri Feb 20 11:46:32 2009 +0000
+++ b/lang/sun-jre6/PLIST.linux-i386    Fri Feb 20 11:56:55 2009 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index