app-text/discount: fix build of libmarkdown
authorBen Kohler <bkohler@gentoo.org>
Fri, 7 Feb 2020 15:42:50 +0000 (09:42 -0600)
committerBen Kohler <bkohler@gentoo.org>
Fri, 7 Feb 2020 15:42:50 +0000 (09:42 -0600)
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@gentoo.org>
app-text/discount/discount-2.2.6.ebuild

index 9d8ffa589581f2676083d47a757d1b57e9697838..5188f84a09a9f8f5ec507ba465497efdc1eadc29 100644 (file)
@@ -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() {