diff options
author | rene <rene@FreeBSD.org> | 2018-12-21 21:59:00 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2018-12-21 21:59:00 +0800 |
commit | 8ced2135e8a4c4db55277195b4b6262f1003e9e6 (patch) | |
tree | cccc683533b496cc8c2f3115cbd36dffa7d7f41f /devel | |
parent | 8a5d6d2de13b2845c014a9f9a38d01b4af6c13f9 (diff) | |
download | freebsd-ports-gnome-8ced2135e8a4c4db55277195b4b6262f1003e9e6.tar.gz freebsd-ports-gnome-8ced2135e8a4c4db55277195b4b6262f1003e9e6.tar.zst freebsd-ports-gnome-8ced2135e8a4c4db55277195b4b6262f1003e9e6.zip |
devel/p5-UI-Dialog: remove optional dependency on expired x11/xdialog
While here mark the kdialog option as deprecated (depends on KDE4).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-UI-Dialog/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
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 <bsd.port.options.mk> + +.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 |