pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/sun-jre15 Always create empty .system.lock and .s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12c476533186
branches:  trunk
changeset: 482003:12c476533186
user:      rh <rh%pkgsrc.org@localhost>
date:      Sun Oct 17 07:25:15 2004 +0000

description:
Always create empty .system.lock and .systemRootModFile (which randomly
seem not to get extracted by the auto extractor.

diffstat:

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

diffs (21 lines):

diff -r a3706a8f318b -r 12c476533186 lang/sun-jre15/Makefile
--- a/lang/sun-jre15/Makefile   Sat Oct 16 22:37:29 2004 +0000
+++ b/lang/sun-jre15/Makefile   Sun Oct 17 07:25:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/10/09 04:34:07 tv Exp $
+# $NetBSD: Makefile,v 1.9 2004/10/17 07:25:15 rh Exp $
 
 # Note: Regen distinfo with SUN_JRE15_USE_JCE=YES
 
@@ -42,6 +42,11 @@
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} jce_policy-1_5_0.zip
 .endif
 
+post-extract:
+       -${MKDIR} ${WRKSRC}/.systemPrefs
+       ${TOUCH} ${WRKSRC}/.systemPrefs/.system.lock
+       ${TOUCH} ${WRKSRC}/.systemPrefs/.systemRootModFile
+
 do-configure:
        cd ${WRKSRC}/lib; for file in ${SFILES}; do                     \
                ${MV} -f $$file $$file.default;                         \



Home | Main Index | Thread Index | Old Index