summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2020-12-25 11:23:33 +0100
committerAlfredo Tupone <tupone@gentoo.org>2020-12-25 11:23:33 +0100
commitf5984479313966ba68b1bc7a18e9e354ea2b5835 (patch)
treecc3c1b0b59dac2de15c7e7f84f3c42ec276b9351 /dev-tcltk/tls
parentmedia-libs/simage: fixed linking against libsndfile (diff)
downloadgentoo-f5984479313966ba68b1bc7a18e9e354ea2b5835.tar.gz
gentoo-f5984479313966ba68b1bc7a18e9e354ea2b5835.tar.bz2
gentoo-f5984479313966ba68b1bc7a18e9e354ea2b5835.zip
dev-tcltk/tls: do not strip shared files
Closes: https://bugs.gentoo.org/756106 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tls')
-rw-r--r--dev-tcltk/tls/files/tls-1.7.22-ldflags.patch13
-rw-r--r--dev-tcltk/tls/tls-1.7.22.ebuild9
2 files changed, 21 insertions, 1 deletions
diff --git a/dev-tcltk/tls/files/tls-1.7.22-ldflags.patch b/dev-tcltk/tls/files/tls-1.7.22-ldflags.patch
new file mode 100644
index 000000000000..a5d8c083d315
--- /dev/null
+++ b/dev-tcltk/tls/files/tls-1.7.22-ldflags.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac 2020-12-25 11:05:31.312433864 +0100
++++ b/configure.ac 2020-12-25 11:05:42.692248123 +0100
+@@ -247,10 +247,8 @@
+
+ dnl Enable a stable ABI
+ DC_SETUP_STABLE_API([${srcdir}/tcltls.vers], tcltls.syms)
+-if test "$tcltls_debug" = 'true'; then
+ WEAKENSYMS=':'
+ REMOVESYMS=':'
+-fi
+
+ dnl Produce output
+ AC_OUTPUT(Makefile pkgIndex.tcl tcltls.syms)
diff --git a/dev-tcltk/tls/tls-1.7.22.ebuild b/dev-tcltk/tls/tls-1.7.22.ebuild
index c4f7c36511d5..3def4d43f9e3 100644
--- a/dev-tcltk/tls/tls-1.7.22.ebuild
+++ b/dev-tcltk/tls/tls-1.7.22.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils
+inherit autotools
MY_P="tcl${P}"
@@ -26,6 +26,13 @@ RESTRICT="test"
S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
--with-ssl-dir="${EPREFIX}/usr" \