pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/sun-jdk6 Fix PR40090 - remove optionally generate...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/163d4dd4ba06
branches:  trunk
changeset: 554793:163d4dd4ba06
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 20 21:42:27 2009 +0000

description:
Fix PR40090 - remove optionally generated register*.html files in pre-install

diffstat:

 lang/sun-jdk6/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ecfb3ac4551e -r 163d4dd4ba06 lang/sun-jdk6/Makefile
--- a/lang/sun-jdk6/Makefile    Fri Feb 20 20:02:30 2009 +0000
+++ b/lang/sun-jdk6/Makefile    Fri Feb 20 21:42:27 2009 +0000
@@ -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 @@
        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"



Home | Main Index | Thread Index | Old Index