lang/tcl86: regenerate patch files, adjust PATCH_WRKSRC

Reported by:	danfe@
This commit is contained in:
Pietro Cerutti 2016-03-01 16:00:47 +00:00
parent 26a50ad189
commit 42f6bb2d88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409876
5 changed files with 22 additions and 21 deletions

View file

@ -25,6 +25,7 @@ TZDATA_DESC= Install Tcl timezone data
MODULES_DESC= Install Tcl common modules MODULES_DESC= Install Tcl common modules
OPTIONS_SUB= yes OPTIONS_SUB= yes
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
ALL_TARGET= all ALL_TARGET= all
@ -59,10 +60,10 @@ post-patch:
s|@TCL_BUILD_STUB_LIB_SPEC@|@TCL_STUB_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_SPEC@|@TCL_STUB_LIB_SPEC@|; \
s|@TCL_BUILD_STUB_LIB_PATH@|@TCL_STUB_LIB_PATH@|; \ s|@TCL_BUILD_STUB_LIB_PATH@|@TCL_STUB_LIB_PATH@|; \
s|@TCL_SRC_DIR@|${PREFIX}/include/tcl${TCL_VER}|' \ s|@TCL_SRC_DIR@|${PREFIX}/include/tcl${TCL_VER}|' \
${WRKSRC}/tclConfig.sh.in ${PATCH_WRKSRC}/unix/tclConfig.sh.in
post-patch-TCLMAN-off: 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||' -e '/^install:/s|install-doc||'
post-configure: post-configure:

View file

@ -1,5 +1,5 @@
--- ../generic/tclPort.h.orig 2013-09-03 14:47:31.000000000 +0200 --- generic/tclPort.h.orig 2016-02-25 20:12:37 UTC
+++ ../generic/tclPort.h 2013-09-04 10:23:22.000000000 +0200 +++ generic/tclPort.h
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
#if defined(_WIN32) #if defined(_WIN32)
# include "tclWinPort.h" # include "tclWinPort.h"

View file

@ -1,6 +1,6 @@
--- Makefile.in.orig 2016-03-01 01:59:35.000000000 +0000 --- unix/Makefile.in.orig 2016-03-01 01:59:35 UTC
+++ Makefile.in 2016-03-01 10:27:50.303199000 +0000 +++ unix/Makefile.in
@@ -54,6 +54,8 @@ @@ -54,6 +54,8 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TC
# Directory in which to install the include file tcl.h: # Directory in which to install the include file tcl.h:
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
@ -9,7 +9,7 @@
# Path to the private tcl header dir: # Path to the private tcl header dir:
PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_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) HTML_INSTALL_DIR = $(INSTALL_ROOT)$(HTML_DIR)
# Directory in which to install the configuration file tclConfig.sh # Directory in which to install the configuration file tclConfig.sh
@ -22,7 +22,7 @@
# Package search path. # Package search path.
TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
@@ -612,9 +614,9 @@ @@ -612,9 +614,9 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $
# Start of rules # Start of rules
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
@ -34,7 +34,7 @@
libraries: libraries:
@@ -625,6 +627,12 @@ @@ -625,6 +627,12 @@ doc:
${LIB_FILE}: ${STUB_LIB_FILE} ${OBJS} ${LIB_FILE}: ${STUB_LIB_FILE} ${OBJS}
rm -f $@ rm -f $@
@MAKE_LIB@ @MAKE_LIB@
@ -47,7 +47,7 @@
${STUB_LIB_FILE}: ${STUB_LIB_OBJS} ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
@if test "x${LIB_FILE}" = "xlibtcl${MAJOR_VERSION}.${MINOR_VERSION}.dll"; then \ @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 # Installation rules
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
@ -64,7 +64,7 @@
install: $(INSTALL_TARGETS) install: $(INSTALL_TARGETS)
@@ -796,6 +804,11 @@ @@ -796,6 +804,11 @@ install-binaries: binaries
@echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
@@INSTALL_LIB@ @@INSTALL_LIB@
@chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)" @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
@ -76,7 +76,7 @@
@echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" @echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
@$(INSTALL_PROGRAM) ${TCL_EXE} "$(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)/" @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
@@ -808,12 +821,17 @@ @@ -808,12 +821,17 @@ install-binaries: binaries
@INSTALL_STUB_LIB@ ; \ @INSTALL_STUB_LIB@ ; \
fi fi
@EXTRA_INSTALL_BINARIES@ @EXTRA_INSTALL_BINARIES@
@ -98,7 +98,7 @@
do \ do \
if [ ! -d "$$i" ] ; then \ if [ ! -d "$$i" ] ; then \
echo "Making directory $$i"; \ echo "Making directory $$i"; \
@@ -821,7 +839,13 @@ @@ -821,7 +839,13 @@ install-libraries: libraries
else true; \ else true; \
fi; \ fi; \
done; done;
@ -113,7 +113,7 @@
do \ do \
if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \ if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \ 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; \ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \
done; done;
@echo "Installing package http 2.8.9 as a Tcl Module"; @echo "Installing package http 2.8.9 as a Tcl Module";
@ -155,7 +155,7 @@
install-tzdata: install-tzdata:
@for i in tzdata; \ @for i in tzdata; \
@@ -940,7 +964,7 @@ @@ -940,7 +964,7 @@ install-doc: doc
done done
install-headers: install-headers:
@ -164,7 +164,7 @@
do \ do \
if [ ! -d "$$i" ] ; then \ if [ ! -d "$$i" ] ; then \
echo "Making directory $$i"; \ echo "Making directory $$i"; \
@@ -949,14 +973,19 @@ @@ -949,14 +973,19 @@ install-headers:
fi; \ fi; \
done; done;
@echo "Installing header files to $(INCLUDE_INSTALL_DIR)/"; @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/";

View file

@ -1,5 +1,5 @@
--- configure.orig 2016-03-01 01:59:35 UTC --- unix/configure.orig 2016-03-01 01:59:35 UTC
+++ configure +++ unix/configure
@@ -7617,15 +7617,11 @@ fi @@ -7617,15 +7617,11 @@ fi
LDFLAGS="$LDFLAGS $PTHREAD_LIBS" LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
fi fi

View file

@ -1,5 +1,5 @@
--- installManPage.orig 2016-03-01 01:59:35 UTC --- unix/installManPage.orig 2016-03-01 01:59:35 UTC
+++ installManPage +++ unix/installManPage
@@ -100,7 +100,7 @@ SrcDir=`dirname $ManPage` @@ -100,7 +100,7 @@ SrcDir=`dirname $ManPage`
First="" First=""