FreeBSD Bugzilla – Attachment 133319 Details for
Bug 177775
multimedia/gtk-youtube-viewer: properly support dependency for CLI option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.31 KB, created by
Jason Helfman
on 2013-04-11 06:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jason Helfman
Created:
2013-04-11 06:50:00 UTC
Size:
2.31 KB
patch
obsolete
>Index: multimedia/gtk-youtube-viewer/Makefile >=================================================================== >--- multimedia/gtk-youtube-viewer/Makefile (revision 315781) >+++ multimedia/gtk-youtube-viewer/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= gtk-youtube-viewer > PORTVERSION= 3.0.7 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= multimedia perl5 > > MAINTAINER= nemysis@gmx.ch >@@ -35,7 +35,6 @@ > WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/WWW-YoutubeViewer > > CONFIGURE_ARGS+=${DATADIR} >-PERL_MODBUILD= yes > > MAN3= WWW::YoutubeViewer::RegularExpressions.3 \ > WWW::YoutubeViewer.3 \ >@@ -48,21 +47,26 @@ > > OPTIONS_DEFINE= GCAP > >-OPTIONS_MULTI= USER_INTERFACE >-OPTIONS_MULTI_USER_INTERFACE= CLI GTK2 >+OPTIONS_MULTI= UI >+OPTIONS_MULTI_UI= CLI GTK2 > > OPTIONS_DEFAULT= GTK2 GCAP > >-CLI_DESC= Enable CLI version >-GCAP_DESC= Enable YouTube captions support >+CLI_DESC= CLI version (requires perl5.16) >+GCAP_DESC= YouTube captions support > > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MCLI} > MAN1= youtube-viewer.1 > PLIST_SUB+= CLI="" >+PERL_MODBUILD= 5.16+ >+USE_PERL5_RUN= 5.16+ >+USE_PERL5_REASON= Requires Perl 5.16 or later, install lang/perl5.16 and try again. \ >+ Please read ${PORTSDIR}/UPDATING entry from 20120630 after installation. > .else > PLIST_SUB+= CLI="@comment " >+PERL_MODBUILD= YES > .endif > > .if ${PORT_OPTIONS:MGTK2} >@@ -78,17 +82,6 @@ > RUN_DEPENDS+= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap > .endif > >-post-extract: >-.if ! exists(${LOCALBASE}/bin/per5.16.2) >- @${ECHO_CMD} >- @${ECHO_MSG} "GTK Youtube Viewer 3.07 requires lang/perl5.16 to use CLI version" >- @${ECHO_MSG} >- @${ECHO_MSG} "Please read /usr/ports/UPDATING" >- @${ECHO_MSG} >- @${ECHO_MSG} "Hit ^c now if you don't wish to do this." >- @${ECHO_MSG} >-.endif >- > post-patch: > @${REINPLACE_CMD} -n '1,/create_build_script()/p' \ > ${WRKSRC}/Build.PL >Index: multimedia/gtk-youtube-viewer/pkg-plist >=================================================================== >--- multimedia/gtk-youtube-viewer/pkg-plist (revision 315781) >+++ multimedia/gtk-youtube-viewer/pkg-plist (working copy) >@@ -27,6 +27,6 @@ > @dirrm %%SITE_PERL%%/WWW > @dirrm %%SITE_PERL%% > @dirrmtry lib/perl5/site_perl >-@dirrmtry lib/perl5/5.14.2/man >-@dirrmtry lib/perl5/5.14.2 >+@dirrmtry lib/perl5/%%PERL_VER%%/man >+@dirrmtry lib/perl5/%%PERL_VER%% > @dirrmtry lib/perl5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 177775
: 133319 |
133320
|
133321