summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2005-01-03 17:24:09 +0000
committerSimon Stelling <blubb@gentoo.org>2005-01-03 17:24:09 +0000
commit25b87d29b5fe5cf3bc163e73089d48802b932770 (patch)
treededb55b1e99c97e658616f67f74e2f5d620aae3a
parentAdd in a patch for security bug #73759 (Manifest recommit) (diff)
downloadgentoo-2-25b87d29b5fe5cf3bc163e73089d48802b932770.tar.gz
gentoo-2-25b87d29b5fe5cf3bc163e73089d48802b932770.tar.bz2
gentoo-2-25b87d29b5fe5cf3bc163e73089d48802b932770.zip
add --prefix=/usr for configure and remove doubled code
-rw-r--r--app-portage/portagedb/portagedb-0.2.0.ebuild12
1 files changed, 4 insertions, 8 deletions
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() {