net-misc/youtube-viewer: fix gtk option

This commit is contained in:
Julian Ospald 2017-08-17 21:14:31 +02:00
parent 135646b817
commit 58bca42768
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 2 additions and 1 deletions

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
}