summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libpcre/libpcre-5.0.ebuild')
-rw-r--r--dev-libs/libpcre/libpcre-5.0.ebuild14
1 files changed, 13 insertions, 1 deletions
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