pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl Create lib/tcl at post-install and add it to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60ab8cafcd27
branches:  trunk
changeset: 482572:60ab8cafcd27
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Oct 30 05:18:51 2004 +0000

description:
Create lib/tcl at post-install and add it to PLIST, because many other
tcl packages assume that this directory exists and never delete it
when deinstalled.  This fixes the tcl-fbsql build problem noted in
recent bulk builds.  Bump PKGREVISION.

diffstat:

 lang/tcl/Makefile |  5 +++--
 lang/tcl/PLIST    |  4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 5fb92351f0e7 -r 60ab8cafcd27 lang/tcl/Makefile
--- a/lang/tcl/Makefile Sat Oct 30 05:09:50 2004 +0000
+++ b/lang/tcl/Makefile Sat Oct 30 05:18:51 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2004/10/04 02:15:52 minskim Exp $
+# $NetBSD: Makefile,v 1.40 2004/10/30 05:18:51 minskim Exp $
 
 DISTNAME=      tcl8.4.7-src
 PKGNAME=       tcl-8.4.7
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
 
@@ -81,5 +81,6 @@
                tclMath.h tclPlatDecls.h tclPort.h tclRegexp.h
        ${INSTALL_DATA} ${WRKSRC}/../generic/${f} ${PREFIX}/include/tcl/generic
 .endfor
+       ${INSTALL_LIB_DIR} ${PREFIX}/lib/tcl
 
 .include "../../mk/bsd.pkg.mk"
diff -r 5fb92351f0e7 -r 60ab8cafcd27 lang/tcl/PLIST
--- a/lang/tcl/PLIST    Sat Oct 30 05:09:50 2004 +0000
+++ b/lang/tcl/PLIST    Sat Oct 30 05:18:51 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2004/09/22 08:09:40 jlam Exp $
+@comment $NetBSD: PLIST,v 1.8 2004/10/30 05:18:52 minskim Exp $
 bin/tclsh
 bin/tclsh8.4
 include/tcl.h
@@ -740,6 +740,8 @@
 @dirrm lib/tcl8.4/http1.0
 @dirrm lib/tcl8.4/encoding
 @dirrm lib/tcl8.4
+@exec ${MKDIR} %D/lib/tcl
+@dirrm lib/tcl
 @dirrm include/tcl/unix
 @dirrm include/tcl/generic
 @dirrm include/tcl



Home | Main Index | Thread Index | Old Index