summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-09 16:36:07 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-09 16:36:07 +0000
commit6c34237c0a4220bc97383cb2d6e46bca061e30a0 (patch)
treee550a1e8891b25c1939544ce0e835faad0675c5e /dev-lang/tk/files
parentVersion bump. (diff)
downloadgentoo-2-6c34237c0a4220bc97383cb2d6e46bca061e30a0.tar.gz
gentoo-2-6c34237c0a4220bc97383cb2d6e46bca061e30a0.tar.bz2
gentoo-2-6c34237c0a4220bc97383cb2d6e46bca061e30a0.zip
dev-lang/tk: Fix build system so that autoconf will always be executed and sanitize sed so that tclConfig.sh will be sane, #449134
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'dev-lang/tk/files')
-rw-r--r--dev-lang/tk/files/tk-8.5.13-conf.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/tk/files/tk-8.5.13-conf.patch b/dev-lang/tk/files/tk-8.5.13-conf.patch
new file mode 100644
index 000000000000..b77b8b3ad34a
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.5.13-conf.patch
@@ -0,0 +1,25 @@
+ unix/tcl.m4 | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/unix/tcl.m4 b/unix/tcl.m4
+index 3974753..9c36eb5 100644
+--- a/unix/tcl.m4
++++ b/unix/tcl.m4
+@@ -1420,7 +1420,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
+ # get rid of the warnings.
+ #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+@@ -1452,7 +1452,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_SUFFIX=".so"
+
+- SHLIB_LD='${CC} -shared'
++ SHLIB_LD='${CC} ${CFLAGS} -shared'
+ DL_OBJS=""
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"