pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/news/tin
Module Name: pkgsrc
Committed By: roy
Date: Wed Jan 11 02:15:56 UTC 2017
Modified Files:
pkgsrc/news/tin: Makefile options.mk
Log Message:
Allow tin to build using termcap instead of curses.
Workaround for PR plg/51819.
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/news/tin/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/news/tin/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/news/tin/Makefile
diff -u pkgsrc/news/tin/Makefile:1.71 pkgsrc/news/tin/Makefile:1.72
--- pkgsrc/news/tin/Makefile:1.71 Thu Jan 5 12:37:08 2017
+++ pkgsrc/news/tin/Makefile Wed Jan 11 02:15:56 2017
@@ -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=${P
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"
Index: pkgsrc/news/tin/options.mk
diff -u pkgsrc/news/tin/options.mk:1.16 pkgsrc/news/tin/options.mk:1.17
--- pkgsrc/news/tin/options.mk:1.16 Thu Jan 5 12:37:08 2017
+++ pkgsrc/news/tin/options.mk Wed Jan 11 02:15:56 2017
@@ -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
Home |
Main Index |
Thread Index |
Old Index