diff options
author | Lina Pezzella <j4rg0n@gentoo.org> | 2005-02-13 20:33:39 +0000 |
---|---|---|
committer | Lina Pezzella <j4rg0n@gentoo.org> | 2005-02-13 20:33:39 +0000 |
commit | 7e8171eb22e05a49bc43f362df8cb39629041ece (patch) | |
tree | 13964afe5cd05ddd7cbc867891ab3e091a0a437e /dev-libs | |
parent | games-board/gtkatlantic-0.4.1 is buggy (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-libs/libpcre/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libpcre/files/pcre-5.0-macos.patch | 11 | ||||
-rw-r--r-- | dev-libs/libpcre/libpcre-5.0.ebuild | 14 |
3 files changed, 29 insertions, 2 deletions
diff --git a/dev-libs/libpcre/ChangeLog b/dev-libs/libpcre/ChangeLog index 1c90f61cc1f1..2590043eac79 100644 --- a/dev-libs/libpcre/ChangeLog +++ b/dev-libs/libpcre/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libpcre # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.53 2005/02/06 23:43:16 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.54 2005/02/13 20:33:39 j4rg0n Exp $ + + 13 Feb 2005; Lina Pezzella <j4rg0n@gentoo.org> + +files/pcre-5.0-macos.patch, libpcre-5.0.ebuild: + dylib fix for ppc-macos 07 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> libpcre-5.0.ebuild: Stable on alpha. 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}' diff --git a/dev-libs/libpcre/libpcre-5.0.ebuild b/dev-libs/libpcre/libpcre-5.0.ebuild index dacc372b4100..cc01b9310225 100644 --- a/dev-libs/libpcre/libpcre-5.0.ebuild +++ b/dev-libs/libpcre/libpcre-5.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-5.0.ebuild,v 1.5 2005/02/06 23:43:16 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-5.0.ebuild,v 1.6 2005/02/13 20:33:39 j4rg0n Exp $ IUSE="" @@ -23,6 +23,7 @@ src_unpack() { cd ${S} epatch ${FILESDIR}/pcre-5.0-uclibc-tuple.patch epatch ${FILESDIR}/pcre-4.2-link.patch + use ppc-macos && epatch ${FILESDIR}/pcre-5.0-macos.patch # position-independent code must used for all shared objects. append-flags -fPIC elibtoolize @@ -37,6 +38,17 @@ src_compile() { src_install() { make DESTDIR="${D}" install || die + if use ppc-macos; then + cd ${D}/usr/lib + for i in libpcre{,.0.0.1,.0} libpcreposix{,.0.0.0,.0}; do + mv $i $i.dylib + done + ln -sf libpcre.0.0.1.dylib libpcre.dylib + ln -sf libpcre.0.0.1.dylib libpcre.0.dylib + ln -sf libpcreposix.0.0.0.dylib libpcreposix.dylib + ln -sf libpcreposix.0.0.0.dylib libpcreposix.0.dylib + fi + dodoc AUTHORS INSTALL NON-UNIX-USE dodoc doc/*.txt dodoc doc/Tech.Notes |