summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-04-13 20:41:03 +0000
committerjschauma <jschauma@pkgsrc.org>2005-04-13 20:41:03 +0000
commitcfd28c25a9fa583dba8e341aafaef2a934a60b98 (patch)
tree02ccc366d080a46fa40eab9a0060b822a7e03c70 /lang
parentdfc4ca54875b35fdb2c34e061ef6c9816a77a32f (diff)
downloadpkgsrc-cfd28c25a9fa583dba8e341aafaef2a934a60b98.tar.gz
patch TCL_SRC_DIR and TK_SRC_DIR into tclConfig.sh and tkConfig.sh correctly
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl/Makefile4
-rw-r--r--lang/tcl83/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index 8ad6bcbec70..5ec2d29ec2b 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2005/04/11 21:46:16 tv Exp $
+# $NetBSD: Makefile,v 1.51 2005/04/13 20:41:03 jschauma Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
@@ -54,7 +54,7 @@ CONFIGURE_ARGS+= --enable-64bit
post-build:
${SED} -e "s|^\(.*\)='\(.*\)'|\1=\"\2\"|" \
-e "s|${WRKSRC}|${PREFIX}/lib|" \
- -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}|" \
+ -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}/include/tcl|" \
${WRKSRC}/tclConfig.sh > ${WRKSRC}/tclConfig.sh.tmp && \
${MV} ${WRKSRC}/tclConfig.sh.tmp ${WRKSRC}/tclConfig.sh
diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile
index f4e5b53f733..4a75e205d1e 100644
--- a/lang/tcl83/Makefile
+++ b/lang/tcl83/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/04/11 21:46:17 tv Exp $
+# $NetBSD: Makefile,v 1.9 2005/04/13 20:41:03 jschauma Exp $
#
DISTNAME= tcl8.3.4
@@ -72,7 +72,7 @@ post-build:
done
${SED} -e "s|^\(.*\)='\(.*\)'|\1=\"\2\"|" \
-e "s|${WRKSRC}|${PREFIX}/lib|" \
- -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}|" \
+ -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}/include/tcl|" \
${WRKSRC}/tclConfig.sh > ${WRKSRC}/tclConfig.sh.tmp && \
${MV} ${WRKSRC}/tclConfig.sh.tmp ${WRKSRC}/tclConfig.sh