From 8ced2135e8a4c4db55277195b4b6262f1003e9e6 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 21 Dec 2018 13:59:00 +0000 Subject: devel/p5-UI-Dialog: remove optional dependency on expired x11/xdialog While here mark the kdialog option as deprecated (depends on KDE4). --- devel/p5-UI-Dialog/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'devel') diff --git a/devel/p5-UI-Dialog/Makefile b/devel/p5-UI-Dialog/Makefile index 83d6116c51dc..44ac616030a8 100644 --- a/devel/p5-UI-Dialog/Makefile +++ b/devel/p5-UI-Dialog/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= p5-File-Slurp>=0:devel/p5-File-Slurp \ p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote RUN_DEPENDS+= cdialog:devel/cdialog -OPTIONS_DEFINE= KDE NEWT X11 ZENITY +OPTIONS_DEFINE= KDE NEWT ZENITY NO_ARCH= yes USES= perl5 @@ -27,9 +27,15 @@ USE_PERL5= configure KDE_RUN_DEPENDS= kdialog:x11/kde4-baseapps NEWT_RUN_DEPENDS= whiptail:devel/newt -X11_RUN_DEPENDS= Xdialog:x11/xdialog ZENITY_RUN_DEPENDS= zenity:x11/zenity +.include + +.if ${PORT_OPTIONS:MKDE} +DEPRECATED= KDE4 is EOL +EXPIRATION_DATE=2018-12-31 +.endif + post-patch: @${REINPLACE_CMD} -e "/self->{'_opts'}->{'bin'}/ s|dialog|c&|" ${WRKSRC}/lib/UI/Dialog/Backend/CDialog.pm -- cgit