commit:     a2bc21a5157b6be3e6aec7bb628cfcf7f8f9ef6b
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 15:42:50 2020 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb  7 15:42:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bc21a5

app-text/discount: fix build of libmarkdown

Also remove custom doins for pkgconfig file, now handled by build system

Closes: https://bugs.gentoo.org/708312
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 app-text/discount/discount-2.2.6.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-text/discount/discount-2.2.6.ebuild 
b/app-text/discount/discount-2.2.6.ebuild
index 9d8ffa58958..5188f84a09a 100644
--- a/app-text/discount/discount-2.2.6.ebuild
+++ b/app-text/discount/discount-2.2.6.ebuild
@@ -47,14 +47,16 @@ src_configure() {
        "${configure_call[@]}" || die
 }
 
+src_compile() {
+       emake libmarkdown
+       emake
+}
+
 src_install() {
        emake \
                DESTDIR="${D}" \
                $(usex minimal install install.everything) \
                SAMPLE_PFX="${PN}-"
-
-       insinto /usr/$(get_libdir)/pkgconfig
-       doins libmarkdown.pc
 }
 
 pkg_postinst() {

Reply via email to