aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl86/Makefile')
-rw-r--r--lang/tcl86/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile
index c2bd5281f580..ffb1b01901dd 100644
--- a/lang/tcl86/Makefile
+++ b/lang/tcl86/Makefile
@@ -77,6 +77,12 @@ BROKEN= Does not build on arm
.endif
post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|@TCL_BUILD_LIB_SPEC@|@TCL_LIB_SPEC@|; \
+ s|@TCL_BUILD_STUB_LIB_SPEC@|@TCL_STUB_LIB_SPEC@|; \
+ s|@TCL_BUILD_STUB_LIB_PATH@|@TCL_STUB_LIB_PATH@|; \
+ s|@TCL_SRC_DIR@|${PREFIX}/include/tcl${TCL_VER}|' \
+ ${WRKSRC}/tclConfig.sh.in
.if !${PORT_OPTIONS:MTCLMAN}
@${FIND} ${WRKSRC}/../pkgs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-e '/^install:/s|install-doc||'