Date: Mon, 12 Mar 2007 18:46:58 +0100 (CET) From: Martin Matuska <martin@matuska.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110239: [MAINTAINER] lang/tcl83 Message-ID: <20070312174658.177123F473@mail.vx.sk> Resent-Message-ID: <200703121750.l2CHo6m8099469@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110239 >Category: ports >Synopsis: [MAINTAINER] lang/tcl83 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 17:50:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Matuska >Release: FreeBSD 6.2-RELEASE >Organization: >Environment: FreeBSD 6.2-RELEASE i386 and amd64 >Description: This update changes the following: - improved handling of WITH_TCL83_MAN - manpages are not installed by default (default on for Tcl 8.4) Portlint -A and tinderbox do not complain. >How-To-Repeat: >Fix: diff -Nbur lang/tcl83.orig/Makefile lang/tcl83/Makefile --- lang/tcl83.orig/Makefile Fri Mar 9 10:49:08 2007 +++ lang/tcl83/Makefile Mon Mar 12 17:52:44 2007 @@ -7,7 +7,7 @@ PORTNAME= tcl PORTVERSION= 8.3.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= lang tcl83 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl @@ -28,7 +28,7 @@ NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=83 -OPTIONS= TCL83_MAN "Install tcl 8.3 manpages" on \ +OPTIONS= TCL83_MAN "Install tcl 8.3 manpages" off \ TCLSH_WRAPPER "Require tclsh wrapper from ports" off .include <bsd.port.pre.mk> @@ -437,17 +437,13 @@ ${REINPLACE_CMD} \ -e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \ ${WRKSRC}/tclConfig.sh -.if defined(NO_INSTALL_MANPAGES) || !defined(WITH_TCL83_MAN) - ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ - ${WRKSRC}/Makefile -.endif post-install: -.if exists(${PKGINSTALL}) - ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} -.endif ${INSTALL_DATA} ${FILESDIR}/koi8-u.enc \ ${PREFIX}/lib/tcl${TCL_VER}/encoding/ +.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL83_MAN) + @cd ${WRKSRC} && ${MAKE} -f Makefile install-doc +.endif test: cd ${WRKSRC} && ${MAKE} test diff -Nbur lang/tcl83.orig/files/patch-aa lang/tcl83/files/patch-aa --- lang/tcl83.orig/files/patch-aa Tue May 13 06:03:21 2003 +++ lang/tcl83/files/patch-aa Mon Mar 12 17:53:19 2007 @@ -1,11 +1,9 @@ --- Makefile.in.orig Fri Oct 18 22:44:46 2002 -+++ Makefile.in Tue Nov 12 21:45:50 2002 -@@ -53,7 +53,9 @@ - SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) ++++ Makefile.in Mon Mar 12 17:53:11 2007 +@@ -54,6 +54,8 @@ # Directory in which to install the include file tcl.h: --INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) -+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) + INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) +GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic +UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix @@ -47,6 +45,15 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} rm -f ${STUB_LIB_FILE} +@@ -533,7 +544,7 @@ + cd dltest; if test -f configure; then ./configure; else \ + $(DLTEST_DIR)/configure; fi + +-install: install-binaries install-libraries install-doc ++install: install-binaries install-libraries + + install-strip: + $(MAKE) install \ @@ -561,6 +572,12 @@ @$(INSTALL_LIBRARY) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE)) @@ -89,14 +96,14 @@ - @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h \ - $(GENERIC_DIR)/tclPlatDecls.h ; \ + @for i in $(GENERIC_DIR)/*.h ; \ - do \ -- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ ++ do \ + $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \ - done; ++ done; + @for i in $(UNIX_DIR)/*.h ; \ -+ do \ + do \ +- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ + $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \ -+ done; + done; + @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h + @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclDecls.h $(INCLUDE_INSTALL_DIR)/tclDecls.h @echo "Installing library files to $(SCRIPT_INSTALL_DIR)"; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070312174658.177123F473>