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
commit6af461a38afd5f79e41c61fbaac5c83055a7b9ae (patch)
tree02ccc366d080a46fa40eab9a0060b822a7e03c70 /lang
parent9c0be0d35aef5fcb01782776c92212315aa77865 (diff)
downloadpkgsrc-6af461a38afd5f79e41c61fbaac5c83055a7b9ae.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