Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 10:51:03 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364351 - in head/lang/tcl86: . files
Message-ID:  <53e4ab97.2f3a.2466f489@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Aug  8 10:51:03 2014
New Revision: 364351
URL: http://svnweb.freebsd.org/changeset/ports/364351
QAT: https://qat.redports.org/buildarchive/r364351/

Log:
  - Fix installation of stripped libraries
  - Fix pkg-config file [1]
  
  Obtained from:	upstream (http://core.tcl.tk/tcl/info/667dfe5615) [1]

Added:
  head/lang/tcl86/files/patch-unix-tcl.pc.in   (contents, props changed)
Modified:
  head/lang/tcl86/Makefile
  head/lang/tcl86/files/patch-unix-Makefile.in

Modified: head/lang/tcl86/Makefile
==============================================================================
--- head/lang/tcl86/Makefile	Fri Aug  8 10:33:32 2014	(r364350)
+++ head/lang/tcl86/Makefile	Fri Aug  8 10:51:03 2014	(r364351)
@@ -27,7 +27,7 @@ MODULES_DESC=	Install Tcl common modules
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
 
 ALL_TARGET=	all
-INSTALL_TARGET=	install install-libraries
+INSTALL_TARGET=	install-strip install-libraries
 
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
@@ -97,10 +97,6 @@ post-configure:
 		-e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \
 		-e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tclsh${TCL_VER}
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcl${SHORT_TCL_VER}.so.1
-
 regression-test:	build
 	cd ${WRKSRC} && LC_ALL=C ${MAKE} test
 

Modified: head/lang/tcl86/files/patch-unix-Makefile.in
==============================================================================
--- head/lang/tcl86/files/patch-unix-Makefile.in	Fri Aug  8 10:33:32 2014	(r364350)
+++ head/lang/tcl86/files/patch-unix-Makefile.in	Fri Aug  8 10:51:03 2014	(r364351)
@@ -1,5 +1,5 @@
 --- Makefile.in.orig	2013-09-19 22:17:13.000000000 +0200
-+++ Makefile.in	2014-04-28 10:32:43.000000000 +0200
++++ Makefile.in	2014-08-08 12:36:53.000000000 +0200
 @@ -54,6 +54,8 @@
  
  # Directory in which to install the include file tcl.h:
@@ -22,6 +22,15 @@
  
  # Package search path.
  TCL_PACKAGE_PATH	= @TCL_PACKAGE_PATH@
+@@ -152,7 +154,7 @@
+ # distribution, which is slower but guaranteed to work.
+ 
+ INSTALL_STRIP_PROGRAM   = -s
+-INSTALL_STRIP_LIBRARY   = -S -x
++INSTALL_STRIP_LIBRARY   = -s
+ 
+ INSTALL			= $(SHELL) $(UNIX_DIR)/install-sh -c
+ INSTALL_PROGRAM		= ${INSTALL}
 @@ -611,9 +613,9 @@
  # Start of rules
  #--------------------------------------------------------------------------

Added: head/lang/tcl86/files/patch-unix-tcl.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/tcl86/files/patch-unix-tcl.pc.in	Fri Aug  8 10:51:03 2014	(r364351)
@@ -0,0 +1,15 @@
+--- tcl.pc.in.orig	2014-08-08 11:15:04.000000000 +0200
++++ tcl.pc.in	2014-08-08 11:15:11.000000000 +0200
+@@ -8,8 +8,8 @@
+ Name: Tool Command Language
+ Description: Tcl is a powerful, easy-to-learn dynamic programming language, suitable for a wide range of uses.
+ URL: http://www.tcl.tk/
+-Version: @TCL_VERSION@
+-Requires:
+-Conflicts:
+-Libs: -L${libdir} @TCL_LIBS@
++Version: @TCL_VERSION@@TCL_PATCH_LEVEL@
++Requires.private: zlib >= 1.2.3
++Libs: -L${libdir} @TCL_LIB_FLAG@ @TCL_STUB_LIB_FLAG@
++Libs.private: @TCL_LIBS@
+ Cflags: -I${includedir}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e4ab97.2f3a.2466f489>