summaryrefslogtreecommitdiff
path: root/lang/sun-jre6
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-20 14:37:58 +0000
committerabs <abs@pkgsrc.org>2009-02-20 14:37:58 +0000
commitb46f783aec1290655c35e4206528ebfc5f0703f7 (patch)
tree8c0e238f3527debd0177dcff8b250b4d8e51a644 /lang/sun-jre6
parent3a087bde5cea400fd4c53d08f0d6dc95a401d1a5 (diff)
downloadpkgsrc-b46f783aec1290655c35e4206528ebfc5f0703f7.tar.gz
move registration.xml fix to pre-install and WRCSRC - suggested by obache@
Diffstat (limited to 'lang/sun-jre6')
-rw-r--r--lang/sun-jre6/Makefile8
1 files 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
#