summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLina Pezzella <j4rg0n@gentoo.org>2005-02-13 20:33:39 +0000
committerLina Pezzella <j4rg0n@gentoo.org>2005-02-13 20:33:39 +0000
commit7e8171eb22e05a49bc43f362df8cb39629041ece (patch)
tree13964afe5cd05ddd7cbc867891ab3e091a0a437e /dev-libs/libpcre/files
parentgames-board/gtkatlantic-0.4.1 is buggy (diff)
downloadgentoo-2-7e8171eb22e05a49bc43f362df8cb39629041ece.tar.gz
gentoo-2-7e8171eb22e05a49bc43f362df8cb39629041ece.tar.bz2
gentoo-2-7e8171eb22e05a49bc43f362df8cb39629041ece.zip
dylib fix for ppc-macos
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-libs/libpcre/files')
-rw-r--r--dev-libs/libpcre/files/pcre-5.0-macos.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/libpcre/files/pcre-5.0-macos.patch b/dev-libs/libpcre/files/pcre-5.0-macos.patch
new file mode 100644
index 000000000000..b51a2996cc12
--- /dev/null
+++ b/dev-libs/libpcre/files/pcre-5.0-macos.patch
@@ -0,0 +1,11 @@
+--- pcre-5.0/configure.orig Sun Feb 13 15:07:14 2005
++++ pcre-5.0/configure Sun Feb 13 15:09:10 2005
+@@ -6799,7 +6799,7 @@
+ link_all_deplibs=yes
+ if test "$GCC" = yes ; then
+ output_verbose_link_cmd='echo'
+- archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++ archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname.dylib $verstring'
+ module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'