pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/sun-jre6 move registration.xml fix to pre-install...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6aad1843823f
branches:  trunk
changeset: 554789:6aad1843823f
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 20 14:37:58 2009 +0000

description:
move registration.xml fix to pre-install and WRCSRC - suggested by obache@

diffstat:

 lang/sun-jre6/Makefile |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 3f780e593e68 -r 6aad1843823f lang/sun-jre6/Makefile
--- a/lang/sun-jre6/Makefile    Fri Feb 20 12:33:11 2009 +0000
+++ b/lang/sun-jre6/Makefile    Fri Feb 20 14:37:58 2009 +0000
@@ -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 @@
        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
 #



Home | Main Index | Thread Index | Old Index