summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libpcre/libpcre-7.9_rc2.ebuild')
-rw-r--r--dev-libs/libpcre/libpcre-7.9_rc2.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-libs/libpcre/libpcre-7.9_rc2.ebuild b/dev-libs/libpcre/libpcre-7.9_rc2.ebuild
index fb1928661707..a9ff10d15576 100644
--- a/dev-libs/libpcre/libpcre-7.9_rc2.ebuild
+++ b/dev-libs/libpcre/libpcre-7.9_rc2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.9_rc2.ebuild,v 1.2 2009/04/10 15:52:19 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.9_rc2.ebuild,v 1.3 2009/04/12 11:03:12 loki_val Exp $
EAPI=2
-inherit libtool eutils
+inherit libtool eutils toolchain-funcs
DESCRIPTION="Perl-compatible regular expression library"
HOMEPAGE="http://www.pcre.org/"
@@ -49,9 +49,7 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/libpcre.so* "${D}"/$(get_libdir)/ || die "moving libpcre failed"
- dosym ../../$(get_libdir)/$(readlink "${D}"/$(get_libdir)/libpcre.so) /usr/$(get_libdir)/libpcre.so || die "Creating symlink failed"
+ gen_usr_ldscript -a pcre
dodoc doc/*.txt AUTHORS
use doc && dohtml doc/html/*