summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-10-30 05:18:51 +0000
committerminskim <minskim@pkgsrc.org>2004-10-30 05:18:51 +0000
commitc3289cecf90bab7636afc20a89c251bf50b8e6fc (patch)
treeebb61d480b6610dde1088c3596b0d3366f0b4c1b /lang
parent3738c27d82b59d052bd31d6a8356a9a9f0c6c5c0 (diff)
downloadpkgsrc-c3289cecf90bab7636afc20a89c251bf50b8e6fc.tar.gz
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 (limited to 'lang')
-rw-r--r--lang/tcl/Makefile5
-rw-r--r--lang/tcl/PLIST4
2 files changed, 6 insertions, 3 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index 384842e3b66..444bec01802 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -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 @@ post-install:
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 --git a/lang/tcl/PLIST b/lang/tcl/PLIST
index f2f100f1f86..1b2d3859950 100644
--- a/lang/tcl/PLIST
+++ b/lang/tcl/PLIST
@@ -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 @@ man/mann/while.n
@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