summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild')
-rw-r--r--dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild b/dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild
index 245274f616f5..440d9ed4c281 100644
--- a/dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild
+++ b/dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild,v 1.6 2005/01/01 17:29:19 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-1.0.2.ebuild,v 1.7 2005/04/23 18:55:09 ka0ttic Exp $
IUSE=""
-inherit libtool
+inherit libtool multilib
-MY_P=${P/pp/++}
+MY_P="${P/pp/++}"
DESCRIPTION="C++ wrapper for the libxml XML parser library"
HOMEPAGE="http://libxmlplusplus.sourceforge.net/"
@@ -18,7 +18,7 @@ KEYWORDS="amd64 ~ppc sparc x86"
DEPEND=">=dev-libs/libxml2-2.5.8"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
MAKEOPTS="${MAKEOPTS} -j1"
src_compile() {
@@ -29,5 +29,7 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install || die "Install failed"
+ dosed -i 's|^\(Cflags.*-I.* \)-I.*$|\1|' \
+ /usr/$(get_libdir)/pkgconfig/${MY_P%.*}.pc
dodoc AUTHORS ChangeLog NEWS README*
}