From b410fd7749d5cfbd25f7b068497470f5e1c48e58 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 5 Oct 2004 09:39:09 +0000 Subject: Made a DESTDIR patch and use that to fix installation on multilib systems. --- media-libs/compface/compface-1.4.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'media-libs/compface/compface-1.4.ebuild') diff --git a/media-libs/compface/compface-1.4.ebuild b/media-libs/compface/compface-1.4.ebuild index d7b3df6122f9..ba7df2f98483 100644 --- a/media-libs/compface/compface-1.4.ebuild +++ b/media-libs/compface/compface-1.4.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.4.ebuild,v 1.21 2004/10/01 04:58:09 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.4.ebuild,v 1.22 2004/10/05 09:39:09 eradicator Exp $ + +IUSE="" inherit eutils @@ -11,7 +13,6 @@ SRC_URI="http://www.ibiblio.org/pub/Linux/apps/graphics/convert/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ppc64 ~ppc-macos" -IUSE="" DEPEND="virtual/libc" @@ -19,14 +20,12 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-errno.diff + epatch ${FILESDIR}/${P}-destdir.diff } src_install() { - dodir /usr/share/man/man{1,3} /usr/{bin,include,lib} - make \ - prefix=${D}/usr \ - MANDIR=${D}/usr/share/man \ - install || die + dodir /usr/share/man/man{1,3} /usr/{bin,include,$(get_libdir)} + make DESTDIR="${D}" install || die dodoc README ChangeLog } -- cgit v1.2.3-65-gdbad