From: Simon Stelling Date: Mon, 3 Jan 2005 17:24:09 +0000 (+0000) Subject: add --prefix=/usr for configure and remove doubled code X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fa72272bbf43442971024ab0af0bcba020099842;p=gentoo.git add --prefix=/usr for configure and remove doubled code --- diff --git a/app-portage/portagedb/portagedb-0.2.0.ebuild b/app-portage/portagedb/portagedb-0.2.0.ebuild index 3608a45fe4a7..be8ad9217f97 100644 --- a/app-portage/portagedb/portagedb-0.2.0.ebuild +++ b/app-portage/portagedb/portagedb-0.2.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/app-portage/portagedb/portagedb-0.2.0.ebuild,v 1.4 2005/01/03 16:46:24 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portagedb/portagedb-0.2.0.ebuild,v 1.5 2005/01/03 17:24:09 blubb Exp $ inherit flag-o-matic @@ -25,18 +25,14 @@ src_compile() { libtoolize --force --copy autoconf - if use debug; then - append-flags -g - ./configure || die "configure failed" - else - ./configure || die "configure failed" - fi + use debug && append-flags -g + ./configure --prefix=/usr || die "configure failed" emake || die "emake failed" } src_install() { - einstall || die "einstall failed" + make DESTDIR=${D} install || die "make install failed" } pkg_postinst() {