commit: 193dfb05dd5d2b884574f78a6f5972bf2781d6f6 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Wed Jan 27 11:57:45 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 5 19:56:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193dfb05
net-misc/unison: fix graphical UI logic in 2.51.3_p20201127 Use same logic as 2.51.4_rc1. Bug: https://bugs.gentoo.org/758386 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/19043 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/unison/unison-2.51.3_p20201127.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net-misc/unison/unison-2.51.3_p20201127.ebuild b/net-misc/unison/unison-2.51.3_p20201127.ebuild index a035fe9b721..a0420d55da8 100644 --- a/net-misc/unison/unison-2.51.3_p20201127.ebuild +++ b/net-misc/unison/unison-2.51.3_p20201127.ebuild @@ -39,7 +39,7 @@ src_prepare() { } src_compile() { - local myconf="all" + local myconf if use threads; then myconf="$myconf THREADS=true" @@ -57,13 +57,12 @@ src_compile() { use ocamlopt || myconf="$myconf NATIVE=false" - # Discard cflags as it will try to pass them to ocamlc... - emake $myconf CFLAGS="" - if use doc; then - myconf="$myconf docs HEVEA=false" - emake $myconf CFLAGS="" + emake $myconf CFLAGS="" HEVEA=false docs fi + + # Discard cflags as it will try to pass them to ocamlc... + emake $myconf CFLAGS="" src } src_test() {
