diff options
author | roy <roy@pkgsrc.org> | 2017-01-11 02:15:56 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2017-01-11 02:15:56 +0000 |
commit | 957e28b61785bd8e1c657042ba5ae8724908cfd0 (patch) | |
tree | 0ae044f223ec2c54a2b48cd33e702541edc84f54 /news | |
parent | 9307ffd60d4c51726e8faa70f15897ea188264b0 (diff) | |
download | pkgsrc-957e28b61785bd8e1c657042ba5ae8724908cfd0.tar.gz |
Allow tin to build using termcap instead of curses.
Workaround for PR plg/51819.
Diffstat (limited to 'news')
-rw-r--r-- | news/tin/Makefile | 8 | ||||
-rw-r--r-- | news/tin/options.mk | 14 |
2 files changed, 14 insertions, 8 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile index 908749db141..47fdfd35ca4 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.71 2017/01/05 12:37:08 roy Exp $ +# $NetBSD: Makefile,v 1.72 2017/01/11 02:15:56 roy Exp $ # DISTNAME= tin-2.2.1 -PKGREVISION= 10 +PKGREVISION= 11 CATEGORIES= news MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \ ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ \ @@ -47,9 +47,6 @@ CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --enable-mh-mail-handling CONFIGURE_ARGS+= --with-coffee -CONFIGURE_ARGS+= --with-screen=${CURSES_TYPE} -CONFIGURE_ARGS+= --with-curses-dir=${BUILDLINK_PREFIX.curses} - SUBST_CLASSES+= tin SUBST_STAGE.tin= pre-configure SUBST_MESSAGE.tin= Adjusting path to the configuration directory. @@ -68,5 +65,4 @@ post-install: .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/libidn/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" -.include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/news/tin/options.mk b/news/tin/options.mk index 4c94ddf0d36..14df13ab656 100644 --- a/news/tin/options.mk +++ b/news/tin/options.mk @@ -1,13 +1,23 @@ -# $NetBSD: options.mk,v 1.16 2017/01/05 12:37:08 roy Exp $ +# $NetBSD: options.mk,v 1.17 2017/01/11 02:15:56 roy Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.tin +PKG_OPTIONS_REQUIRED_GROUPS= display +PKG_OPTIONS_GROUP.display= curses wide-curses termcap PKG_SUPPORTED_OPTIONS= icu inet6 tin-use-inn-spool -PKG_SUGGESTED_OPTIONS= inet6 +PKG_SUGGESTED_OPTIONS= inet6 termcap # see PR #51819 # untested #PKG_SUPPORTED_OPTIONS+= socks .include "../../mk/bsd.options.mk" +.if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses) +.include "../../mk/curses.buildlink3.mk" +CONFIGURE_ARGS+= --with-screen=${CURSES_TYPE} +CONFIGURE_ARGS+= --with-curses-dir=${BUILDLINK_PREFIX.curses} +.else +.include "../../mk/termcap.buildlink3.mk" +.endif + .if !empty(PKG_OPTIONS:Micu) .include "../../textproc/icu/buildlink3.mk" .endif |