net-misc/youtube-viewer: fix gtk option

This commit is contained in:
2017-08-17 21:14:31 +02:00
parent 135646b817
commit 58bca42768

View File

@@ -54,8 +54,9 @@ DEPENDENCIES="
"
src_configure() {
edo rm Makefile.PL
if option gtk ; then
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk-youtube-viewer )
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk )
fi
perl-module_src_configure
}