diff options
author | Lina Pezzella <j4rg0n@gentoo.org> | 2004-10-09 02:03:50 +0000 |
---|---|---|
committer | Lina Pezzella <j4rg0n@gentoo.org> | 2004-10-09 02:03:50 +0000 |
commit | acb390d17d6863ed80ebda4d47a5527e5e35d6cc (patch) | |
tree | a05652d0d8eb9d6a0bf993b76348839793fe7581 /dev-libs/libpcre/files | |
parent | fix (diff) | |
download | historical-acb390d17d6863ed80ebda4d47a5527e5e35d6cc.tar.gz historical-acb390d17d6863ed80ebda4d47a5527e5e35d6cc.tar.bz2 historical-acb390d17d6863ed80ebda4d47a5527e5e35d6cc.zip |
Bug #58165 fix. Keyword ~ppc-macos.
Diffstat (limited to 'dev-libs/libpcre/files')
-rw-r--r-- | dev-libs/libpcre/files/pcre-4.2-macos.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libpcre/files/pcre-4.2-macos.patch b/dev-libs/libpcre/files/pcre-4.2-macos.patch new file mode 100644 index 000000000000..64675604d68b --- /dev/null +++ b/dev-libs/libpcre/files/pcre-4.2-macos.patch @@ -0,0 +1,33 @@ +diff -urN pcre-4.5.orig/configure pcre-4.5/configure +--- pcre-4.5.orig/configure Sun Aug 15 15:29:25 2004 ++++ pcre-4.5/configure Sun Aug 15 15:26:54 2004 +@@ -5122,11 +5122,11 @@ + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. +- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' ++ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring' + # We need to add '_' to the symbols in $export_symbols first + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' +- hardcode_direct=yes +- hardcode_shlibpath_var=no ++ hardcode_direct=no ++ hardcode_shlibpath_var=yes + whole_archive_flag_spec='-all_load $convenience' + ;; + +diff -urN pcre-4.5.orig/ltmain.sh pcre-4.5/ltmain.sh +--- pcre-4.5.orig/ltmain.sh Sun Aug 15 15:30:00 2004 ++++ pcre-4.5/ltmain.sh Sun Aug 15 15:32:43 2004 +@@ -2990,6 +2990,11 @@ + done + deplibs="$tmp_deplibs" + done ++ if test "x$verstring" = "x0.0"; then ++ tmp_verstring= ++ else ++ tmp_verstring="$verstring" ++ fi + eval cmds=\"$archive_cmds\" + deplibs="$save_deplibs" + fi |