summaryrefslogtreecommitdiff
path: root/lang/sun-jre6/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-20 11:56:55 +0000
committerabs <abs@pkgsrc.org>2009-02-20 11:56:55 +0000
commitae5ccf5ed6efeaa20111919cdd4becd08fdb82eb (patch)
tree9ac57ce5331e17e0f109245cf34336a7dd1061cf /lang/sun-jre6/Makefile
parentbef17466d6a9ecc18e55d0c9a2a85e518e15f2ba (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--lang/sun-jre6/Makefile6
1 files changed, 5 insertions, 1 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
#