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

This commit is contained in:
Michał Górny
2016-01-29 16:37:47 +01:00
parent ded7252083
commit 11299625db

View File

@@ -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() {