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@gentoo.org>
This commit is contained in:
Ben Kohler
2020-02-07 09:42:50 -06:00
parent 4829f47087
commit a2bc21a515
+5 -3
View 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() {