Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 07:48: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: r416498 - in head/lang/itcl4: . files
Message-ID:  <201606070748.u577m3em052491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Jun  7 07:48:03 2016
New Revision: 416498
URL: https://svnweb.freebsd.org/changeset/ports/416498

Log:
  lang/itcl4: do not strip the stubs lib, consumers need the stubs pointer symbol
  
  Reported by:	Peter da Silva <peter.dasilva@flightaware.com>

Modified:
  head/lang/itcl4/Makefile
  head/lang/itcl4/files/patch-Makefile.in

Modified: head/lang/itcl4/Makefile
==============================================================================
--- head/lang/itcl4/Makefile	Tue Jun  7 07:34:40 2016	(r416497)
+++ head/lang/itcl4/Makefile	Tue Jun  7 07:48:03 2016	(r416498)
@@ -3,6 +3,7 @@
 
 PORTNAME=	itcl4
 PORTVERSION=	4.0.4
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	TCLTK/itcl \
 		SF/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itcl%20${PORTVERSION}/
@@ -16,4 +17,7 @@ CONFIGURE_ARGS+=--includedir=${PREFIX}/i
 PLIST_SUB+=	PKGVER=${PORTVERSION}
 TEST_TARGET=	test
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/itcl${PORTVERSION}/libitcl${PORTVERSION}.so
+
 .include <bsd.port.mk>

Modified: head/lang/itcl4/files/patch-Makefile.in
==============================================================================
--- head/lang/itcl4/files/patch-Makefile.in	Tue Jun  7 07:34:40 2016	(r416497)
+++ head/lang/itcl4/files/patch-Makefile.in	Tue Jun  7 07:48:03 2016	(r416498)
@@ -1,14 +1,5 @@
 --- Makefile.in.orig	2013-11-21 20:49:06 UTC
 +++ Makefile.in
-@@ -93,7 +93,7 @@ INSTALL_DATA_DIR = ${INSTALL} -d -m 755
- INSTALL_PROGRAM	= ${INSTALL} -m 755
- INSTALL_DATA	= ${INSTALL} -m 644
- INSTALL_SCRIPT	= ${INSTALL_PROGRAM}
--INSTALL_LIBRARY	= ${INSTALL_DATA}
-+INSTALL_LIBRARY	= ${INSTALL_DATA} -s
- 
- PACKAGE_NAME	= @PACKAGE_NAME@
- PACKAGE_VERSION	= @PACKAGE_VERSION@
 @@ -222,11 +222,12 @@ install-doc: doc
  	@$(INSTALL_DATA_DIR) $(DESTDIR)$(mandir)/mann
  	@echo "Installing documentation in $(DESTDIR)$(mandir)"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606070748.u577m3em052491>