summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorabs <abs>2009-08-04 08:13:56 +0000
committerabs <abs>2009-08-04 08:13:56 +0000
commit58f13f5e6903b9903d671a46e311337a449491f6 (patch)
treec636f87bbb85df8693ab52a829b3507cbeed5059 /lang
parentbf09eb86b4caa5f0ebe8b2c15ac6690c3c8b73c4 (diff)
downloadpkgsrc-58f13f5e6903b9903d671a46e311337a449491f6.tar.gz
remove ${WRKSRC}/lib/servicetag/registration.xml before install
Diffstat (limited to 'lang')
-rw-r--r--lang/sun-jre15/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/sun-jre15/Makefile b/lang/sun-jre15/Makefile
index 05757c564e5..67a052c03ed 100644
--- a/lang/sun-jre15/Makefile
+++ b/lang/sun-jre15/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2009/07/23 17:14:39 abs Exp $
+# $NetBSD: Makefile,v 1.58 2009/08/04 08:13:56 abs Exp $
# Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce
@@ -87,6 +87,8 @@ 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