From 42f6bb2d88b9035a93c83c7e4a9756dcb1ab6fbe Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 1 Mar 2016 16:00:47 +0000 Subject: [PATCH] lang/tcl86: regenerate patch files, adjust PATCH_WRKSRC Reported by: danfe@ --- lang/tcl86/Makefile | 5 +++-- lang/tcl86/files/patch-generic-tclPort.h | 4 ++-- lang/tcl86/files/patch-unix-Makefile.in | 26 +++++++++++----------- lang/tcl86/files/patch-unix-configure | 4 ++-- lang/tcl86/files/patch-unix-installManPage | 4 ++-- 5 files changed, 22 insertions(+), 21 deletions(-) diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile index f18b718e56a0..3036b5124624 100644 --- a/lang/tcl86/Makefile +++ b/lang/tcl86/Makefile @@ -25,6 +25,7 @@ TZDATA_DESC= Install Tcl timezone data MODULES_DESC= Install Tcl common modules OPTIONS_SUB= yes +PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all @@ -59,10 +60,10 @@ post-patch: 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 + ${PATCH_WRKSRC}/unix/tclConfig.sh.in post-patch-TCLMAN-off: - @${FIND} ${WRKSRC}/../pkgs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ + @${FIND} ${PATCH_WRKSRC}/pkgs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e '/^install:/s|install-doc||' post-configure: diff --git a/lang/tcl86/files/patch-generic-tclPort.h b/lang/tcl86/files/patch-generic-tclPort.h index 5c3f057bf1f3..d36d5c54bc50 100644 --- a/lang/tcl86/files/patch-generic-tclPort.h +++ b/lang/tcl86/files/patch-generic-tclPort.h @@ -1,5 +1,5 @@ ---- ../generic/tclPort.h.orig 2013-09-03 14:47:31.000000000 +0200 -+++ ../generic/tclPort.h 2013-09-04 10:23:22.000000000 +0200 +--- generic/tclPort.h.orig 2016-02-25 20:12:37 UTC ++++ generic/tclPort.h @@ -20,7 +20,7 @@ #if defined(_WIN32) # include "tclWinPort.h" diff --git a/lang/tcl86/files/patch-unix-Makefile.in b/lang/tcl86/files/patch-unix-Makefile.in index fff304404c4f..54a626870098 100644 --- a/lang/tcl86/files/patch-unix-Makefile.in +++ b/lang/tcl86/files/patch-unix-Makefile.in @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2016-03-01 01:59:35.000000000 +0000 -+++ Makefile.in 2016-03-01 10:27:50.303199000 +0000 -@@ -54,6 +54,8 @@ +--- unix/Makefile.in.orig 2016-03-01 01:59:35 UTC ++++ unix/Makefile.in +@@ -54,6 +54,8 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TC # Directory in which to install the include file tcl.h: INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) @@ -9,7 +9,7 @@ # Path to the private tcl header dir: PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ -@@ -80,10 +82,10 @@ +@@ -80,10 +82,10 @@ HTML_DIR = @HTML_DIR@ HTML_INSTALL_DIR = $(INSTALL_ROOT)$(HTML_DIR) # Directory in which to install the configuration file tclConfig.sh @@ -22,7 +22,7 @@ # Package search path. TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ -@@ -612,9 +614,9 @@ +@@ -612,9 +614,9 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $ # Start of rules #-------------------------------------------------------------------------- @@ -34,7 +34,7 @@ libraries: -@@ -625,6 +627,12 @@ +@@ -625,6 +627,12 @@ doc: ${LIB_FILE}: ${STUB_LIB_FILE} ${OBJS} rm -f $@ @MAKE_LIB@ @@ -47,7 +47,7 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} @if test "x${LIB_FILE}" = "xlibtcl${MAJOR_VERSION}.${MINOR_VERSION}.dll"; then \ -@@ -768,13 +776,13 @@ +@@ -768,13 +776,13 @@ trace-test: ${TCLTEST_EXE} # Installation rules #-------------------------------------------------------------------------- @@ -64,7 +64,7 @@ install: $(INSTALL_TARGETS) -@@ -796,6 +804,11 @@ +@@ -796,6 +804,11 @@ install-binaries: binaries @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" @@INSTALL_LIB@ @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)" @@ -76,7 +76,7 @@ @echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" -@@ -808,12 +821,17 @@ +@@ -808,12 +821,17 @@ install-binaries: binaries @INSTALL_STUB_LIB@ ; \ fi @EXTRA_INSTALL_BINARIES@ @@ -98,7 +98,7 @@ do \ if [ ! -d "$$i" ] ; then \ echo "Making directory $$i"; \ -@@ -821,7 +839,13 @@ +@@ -821,7 +839,13 @@ install-libraries: libraries else true; \ fi; \ done; @@ -113,7 +113,7 @@ do \ if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \ echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \ -@@ -841,31 +865,31 @@ +@@ -841,31 +865,31 @@ install-libraries: libraries $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \ done; @echo "Installing package http 2.8.9 as a Tcl Module"; @@ -155,7 +155,7 @@ install-tzdata: @for i in tzdata; \ -@@ -940,7 +964,7 @@ +@@ -940,7 +964,7 @@ install-doc: doc done install-headers: @@ -164,7 +164,7 @@ do \ if [ ! -d "$$i" ] ; then \ echo "Making directory $$i"; \ -@@ -949,14 +973,19 @@ +@@ -949,14 +973,19 @@ install-headers: fi; \ done; @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/"; diff --git a/lang/tcl86/files/patch-unix-configure b/lang/tcl86/files/patch-unix-configure index 08d3f06fe6ca..280c504b8150 100644 --- a/lang/tcl86/files/patch-unix-configure +++ b/lang/tcl86/files/patch-unix-configure @@ -1,5 +1,5 @@ ---- configure.orig 2016-03-01 01:59:35 UTC -+++ configure +--- unix/configure.orig 2016-03-01 01:59:35 UTC ++++ unix/configure @@ -7617,15 +7617,11 @@ fi LDFLAGS="$LDFLAGS $PTHREAD_LIBS" fi diff --git a/lang/tcl86/files/patch-unix-installManPage b/lang/tcl86/files/patch-unix-installManPage index 0b0785b6560f..0dd5a894fc81 100644 --- a/lang/tcl86/files/patch-unix-installManPage +++ b/lang/tcl86/files/patch-unix-installManPage @@ -1,5 +1,5 @@ ---- installManPage.orig 2016-03-01 01:59:35 UTC -+++ installManPage +--- unix/installManPage.orig 2016-03-01 01:59:35 UTC ++++ unix/installManPage @@ -100,7 +100,7 @@ SrcDir=`dirname $ManPage` First=""