summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-31 12:37:49 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-31 13:43:48 +0100
commit9f55795f3595867b13576fb89301a0b19004adca (patch)
treeefeae18b0aa524f9cab4f9b4f0bd26d04693c644 /dev-libs/mm
parentdev-libs/iksemel: Remove old (diff)
downloadgentoo-9f55795f3595867b13576fb89301a0b19004adca.tar.gz
gentoo-9f55795f3595867b13576fb89301a0b19004adca.tar.bz2
gentoo-9f55795f3595867b13576fb89301a0b19004adca.zip
dev-libs/mm: Minor touchups
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-libs/mm')
-rw-r--r--dev-libs/mm/mm-1.4.2-r2.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-libs/mm/mm-1.4.2-r2.ebuild b/dev-libs/mm/mm-1.4.2-r2.ebuild
index 405cb0a82e8d..23b44f79179c 100644
--- a/dev-libs/mm/mm-1.4.2-r2.ebuild
+++ b/dev-libs/mm/mm-1.4.2-r2.ebuild
@@ -13,10 +13,14 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa
IUSE=""
src_prepare() {
+ default
sed -i Makefile.in \
-e '/--mode=link/s| -o | $(LDFLAGS)&|g' \
|| die "sed Makefile.in"
- default
+}
+
+src_configure() {
+ econf --disable-static
}
src_test() {
@@ -24,11 +28,9 @@ src_test() {
}
src_install() {
- emake install DESTDIR="${D}"
- dodoc README ChangeLog INSTALL PORTING THANKS
-}
+ default
+ dodoc PORTING
-pkg_postinst() {
- ewarn 'if you upgraded from mm-1.3 or earlier please run:'
- ewarn "revdep-rebuild --library \"/usr/$(get_libdir)/libmm.so.13\""
+ # no static archive installed
+ find "${D}" -name '*.la' -delete || die
}