--- libnl-1.0_pre6.ebuild.orig 2007-07-19 19:06:16.000000000 +0300 +++ libnl-1.0_pre6.ebuild 2007-07-19 19:03:30.000000000 +0300 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.0_pre6.ebuild,v 1.4 2007/04/30 12:03:17 armin76 Exp $ +# $Header: $ inherit eutils multilib linux-info @@ -14,16 +14,16 @@ src_unpack() { unpack ${A} - cd ${S}/lib + cd "${S}" + epatch "${FILESDIR}"/${P}-pkgconfig.patch + cd "${S}"/lib sed -i Makefile -e 's:install -o root -g root:install:' - cd ${S}/include + cd "${S}"/include sed -i Makefile -e 's:install -o root -g root:install:g' - epatch "${FILESDIR}/${PN}-1.0_pre5-include.diff" - epatch "${FILESDIR}/${PN}-1.0_pre5-__u64_x86_64.patch" + epatch "${FILESDIR}"/${PN}-1.0_pre5-include.diff + epatch "${FILESDIR}"/${PN}-1.0_pre5-__u64_x86_64.patch } src_install() { - make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die - insinto /usr/share/pkgconfig/ - doins ${FILESDIR}/libnl-1.pc + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "emake install failed." }