lang/itcl4: do not strip the stubs lib, consumers need the stubs pointer symbol

Reported by:	Peter da Silva <peter.dasilva@flightaware.com>
This commit is contained in:
Pietro Cerutti 2016-06-07 07:48:03 +00:00
parent 500732089d
commit f5def8e231
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416498
2 changed files with 4 additions and 9 deletions

View File

@ -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}/include/itcl${PORTVERSION:R}
PLIST_SUB+= PKGVER=${PORTVERSION}
TEST_TARGET= test
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/itcl${PORTVERSION}/libitcl${PORTVERSION}.so
.include <bsd.port.mk>

View File

@ -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)"