summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-20 00:52:59 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-20 00:52:59 +0000
commitd12c58ecb7a1e3b639fc6f9f7d5e220a9f390311 (patch)
treea5251743e3f7c3cf71a62f1d9dc73bdb85b0fb68 /dev-libs/confuse
parentRemove 1.5.8 in favor of 1.5.8-r1. Fix various repoman warnings (diff)
downloadgentoo-2-d12c58ecb7a1e3b639fc6f9f7d5e220a9f390311.tar.gz
gentoo-2-d12c58ecb7a1e3b639fc6f9f7d5e220a9f390311.tar.bz2
gentoo-2-d12c58ecb7a1e3b639fc6f9f7d5e220a9f390311.zip
make sure shared libraries are built #82588
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-libs/confuse')
-rw-r--r--dev-libs/confuse/confuse-2.5.ebuild26
-rw-r--r--dev-libs/confuse/metadata.xml5
2 files changed, 15 insertions, 16 deletions
diff --git a/dev-libs/confuse/confuse-2.5.ebuild b/dev-libs/confuse/confuse-2.5.ebuild
index 9043191e24e7..f648cfde67db 100644
--- a/dev-libs/confuse/confuse-2.5.ebuild
+++ b/dev-libs/confuse/confuse-2.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/confuse-2.5.ebuild,v 1.1 2004/12/05 03:09:05 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/confuse-2.5.ebuild,v 1.2 2005/02/20 00:52:59 vapier Exp $
inherit eutils
@@ -21,21 +21,25 @@ RDEPEND="virtual/libc"
src_unpack(){
unpack ${A}
- cd ${S}
+ cd "${S}"
epatch ${FILESDIR}/${P}-maketest.patch
+
+ # keep this otherwise libraries will not have .so extensions
+ libtoolize --copy --force
}
src_compile() {
local myconf
- # keep this otherwise libraries will not have .so extensions
- libtoolize --force
-
use debug \
&& myconf="${myconf} --enable-debug=all" \
|| myconf="${myconf} --disable-debug"
- econf `use_enable doc build-docs` `use_enable nls` ${myconf} || die
+ econf \
+ --enable-shared \
+ $(use_enable doc build-docs) \
+ $(use_enable nls) \
+ ${myconf} || die
emake || die
}
@@ -45,10 +49,10 @@ src_test() {
}
src_install() {
- emake DESTDIR=${D} install || die
- dodoc AUTHORS NEWS README || die
- if use doc; then
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS NEWS README
+ if use doc ; then
dohtml doc/html/*.html || die
fi
- rmdir ${D}/usr/bin
+ rmdir "${D}"/usr/bin
}
diff --git a/dev-libs/confuse/metadata.xml b/dev-libs/confuse/metadata.xml
index c68c466ef895..92114080841c 100644
--- a/dev-libs/confuse/metadata.xml
+++ b/dev-libs/confuse/metadata.xml
@@ -2,9 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dev-embedded</herd>
-<maintainer>
- <email>dev-embedded@gentoo.org</email>
- <description>A user ebuild that I felt obliged to include. Please take over if you want.</description>
-</maintainer>
-<longdescription></longdescription>
</pkgmetadata>