summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/sun-jdk6/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/sun-jdk6/Makefile b/lang/sun-jdk6/Makefile
index 466e1d00a55..6f80fd82144 100644
--- a/lang/sun-jdk6/Makefile
+++ b/lang/sun-jdk6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/02/08 00:23:20 christos Exp $
+# $NetBSD: Makefile,v 1.12 2009/02/20 21:42:27 abs Exp $
DISTNAME= jdk-6u12-linux-${DIST_ARCH}
#PKGREVISION= 1
@@ -31,4 +31,10 @@ post-extract:
done
${LN} -sf . ${WRKSRC}/jre
+pre-install:
+ # These files are generated the *first* time the package is built
+ ${RM} -f ${WRKSRC}/register.html
+ ${RM} -f ${WRKSRC}/register_ja.html
+ ${RM} -f ${WRKSRC}/register_zh_CN.html
+
.include "../../mk/bsd.pkg.mk"