commit:     11299625dbb3c9585dfd6a8505f82324144c8b82
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 29 15:37:47 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 15:55:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11299625

net-misc/tigervnc: Avoid building unnecessary parts of xorg-server

 net-misc/tigervnc/tigervnc-1.6.0.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/net-misc/tigervnc/tigervnc-1.6.0.ebuild 
b/net-misc/tigervnc/tigervnc-1.6.0.ebuild
index eaa275f..6d9e1a6 100644
--- a/net-misc/tigervnc/tigervnc-1.6.0.ebuild
+++ b/net-misc/tigervnc/tigervnc-1.6.0.ebuild
@@ -139,7 +139,16 @@ src_configure() {
 src_compile() {
        cmake-utils_src_compile
 
-       use server && emake -C unix/xserver
+       if use server; then
+               # deps of the vnc module and the module itself
+               local d subdirs=(
+                       fb xfixes Xext dbe glx randr render damageext miext Xi 
xkb
+                       composite dix mi os hw/vnc
+               )
+               for d in "${subdirs[@]}"; do
+                       emake -C unix/xserver/"${d}"
+               done
+       fi
 }
 
 src_install() {

Reply via email to