diff options
author | 2013-01-09 16:11:29 +0000 | |
---|---|---|
committer | 2013-01-09 16:11:29 +0000 | |
commit | 4dd598f2680bdd70b64df31dadda0cc5f77b77d2 (patch) | |
tree | 629b8107a1bed97c6a8858503460e1247a6230a8 /dev-lang/tcl/files/tcl-8.5.13-conf.patch | |
parent | Old. (diff) | |
download | gentoo-2-4dd598f2680bdd70b64df31dadda0cc5f77b77d2.tar.gz gentoo-2-4dd598f2680bdd70b64df31dadda0cc5f77b77d2.tar.bz2 gentoo-2-4dd598f2680bdd70b64df31dadda0cc5f77b77d2.zip |
dev-lang/tcl: 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/tcl/files/tcl-8.5.13-conf.patch')
-rw-r--r-- | dev-lang/tcl/files/tcl-8.5.13-conf.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-lang/tcl/files/tcl-8.5.13-conf.patch b/dev-lang/tcl/files/tcl-8.5.13-conf.patch new file mode 100644 index 000000000000..2d7493c3b3d6 --- /dev/null +++ b/dev-lang/tcl/files/tcl-8.5.13-conf.patch @@ -0,0 +1,20 @@ +--- tcl8.5.0/unix/tcl.m4.conf 2007-12-20 10:48:05.000000000 +0100 ++++ tcl8.5.0/unix/tcl.m4 2007-12-20 10:48:52.000000000 +0100 +@@ -1427,7 +1427,7 @@ dnl AC_CHECK_TOOL(AR, ar) + # 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} -fPIC -Wl,-soname,${@}' + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" +@@ -1464,7 +1464,7 @@ dnl AC_CHECK_TOOL(AR, ar) + SHLIB_CFLAGS="-fPIC" + SHLIB_SUFFIX=".so" + +- SHLIB_LD='${CC} -shared' ++ SHLIB_LD='${CC} ${CFLAGS} -shared -fPIC' + DL_OBJS="" + DL_LIBS="-ldl" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" |