summaryrefslogtreecommitdiff
path: root/net-misc/unison/unison-2.51.3_p20201127.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /net-misc/unison/unison-2.51.3_p20201127.ebuild
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'net-misc/unison/unison-2.51.3_p20201127.ebuild')
-rw-r--r--net-misc/unison/unison-2.51.3_p20201127.ebuild11
1 files 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 a035fe9b7214..f63e304f3ab9 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=""
+ VARTEXFONTS="${T}/fonts" emake $myconf CFLAGS="" HEVEA=false docs
fi
+
+ # Discard cflags as it will try to pass them to ocamlc...
+ emake $myconf CFLAGS="" src
}
src_test() {