aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl86
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2012-09-25 07:46:04 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2012-09-25 07:46:04 +0000
commit2a07ca7ce85b80cc9264cd559fad1cdef288fa82 (patch)
treeba2c8d900d3181ce57950fb058bf903f02f0d517 /lang/tcl86
parentf082b6697f94d32fe31b79c43f3a306354e7c0c6 (diff)
downloadports-2a07ca7ce85b80cc9264cd559fad1cdef288fa82.tar.gz
ports-2a07ca7ce85b80cc9264cd559fad1cdef288fa82.zip
Notes
Diffstat (limited to 'lang/tcl86')
-rw-r--r--lang/tcl86/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile
index 21551ff5b66d..ab2444695838 100644
--- a/lang/tcl86/Makefile
+++ b/lang/tcl86/Makefile
@@ -723,14 +723,15 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
-e 's|$${TCL_TRIM_DOTS}|$${TCL_TRIM_DOTS}${THREADS_SUFFIX}|g' \
-e 's|-ltcl$${TCL_VERSION}|-ltcl$${TCL_VERSION}${THREADS_SUFFIX}|g' \
- -e 's/-ltcl`echo $${TCL_VERSION} | ${TR} -d .`/-ltcl`echo $${TCL_VERSION} | ${TR} -d .`${THREADS_SUFFIX}/g' \
+ -e 's/-ltcl`echo $${TCL_VERSION} | tr -d .`/-ltcl`echo $${TCL_VERSION} | tr -d .`${THREADS_SUFFIX}/g' \
-e 's|-ltclstub$${TCL_VERSION}|-ltclstub$${TCL_VERSION}${THREADS_SUFFIX}|g' \
- -e 's/-ltclstub`echo $${TCL_VERSION} | ${TR} -d .`/-ltclstub`echo $${TCL_VERSION} | ${TR} -d .`${THREADS_SUFFIX}/g' \
+ -e 's/-ltclstub`echo $${TCL_VERSION} | tr -d .`/-ltclstub`echo $${TCL_VERSION} | tr -d .`${THREADS_SUFFIX}/g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|libtcl$${SHORT_TCL_VER}|libtcl$${SHORT_TCL_VER}${THREADS_SUFFIX}|g' \
-e 's|/tclsh$$(VERSION)|/tclsh$$(VERSION)${THREADS_SUFFIX}|g' \
-e 's|/tclConfig.sh|/tclConfig${THREADS_SUFFIX}.sh|g' \
- -e 's|"/tclooConfig.sh|"/tclooConfig${THREADS_SUFFIX}.sh|g' \
+ -e 's|$$(CONFIG_INSTALL_DIR)/tclooConfig.sh|$$(CONFIG_INSTALL_DIR)/tclooConfig${THREADS_SUFFIX}.sh|g' \
+ -e '826,828d' \
${WRKSRC}/Makefile.in
.endif
@@ -766,11 +767,11 @@ post-install:
@cd ${WRKSRC} && ${MAKE} -f Makefile install-tzdata ${MAKE_ENV}
.endif
${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR}
.if !defined(NO_INSTALL_MANPAGES)
${MKDIR} ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/../doc/tclsh.1 ${MANPREFIX}/man/man1/tclsh${TCL_VER}${THREADS_SUFFIX}.1
.if !defined(BUILDING_TCL_THREADS) && defined(WITH_TCL86_MAN)
+ ${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR}
. for mp in ${MAN3} ${MANN}
@${REINPLACE_CMD} -e 's|^.so man.macros|.so ${DATADIR}/man.macros|' \
${WRKSRC}/../doc/${mp}