pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/aspell NetBSD curses has been fixed since 8.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e5c194af41f
branches:  trunk
changeset: 398631:2e5c194af41f
user:      rin <rin%pkgsrc.org@localhost>
date:      Wed Jul 24 19:04:29 2019 +0000

description:
NetBSD curses has been fixed since 8.1.
So, ncurses is no longer required.

Bump PKGREVISION.

diffstat:

 textproc/aspell/Makefile |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r ec81f6cbf317 -r 2e5c194af41f textproc/aspell/Makefile
--- a/textproc/aspell/Makefile  Wed Jul 24 18:14:42 2019 +0000
+++ b/textproc/aspell/Makefile  Wed Jul 24 19:04:29 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.70 2018/08/22 09:46:44 wiz Exp $
+# $NetBSD: Makefile,v 1.71 2019/07/24 19:04:29 rin Exp $
 #
 
 DISTNAME=              aspell-0.60.6.1
-PKGREVISION=           8
+PKGREVISION=           9
 CATEGORIES=            textproc
 MASTER_SITES=          ${MASTER_SITE_GNU:=aspell/}
 
@@ -25,13 +25,19 @@
 INFO_FILES=            yes
 
 CONFIGURE_ARGS+=       --enable-doc-dir=${PREFIX}/share/doc/aspell
-CONFIGURE_ARGS+=       --enable-curses=ncurses
+CONFIGURE_ARGS+=       --enable-curses=${CURSES_TYPE}
 CONFIGURE_ARGS+=       --enable-pkgdatadir=${PREFIX}/share/aspell
 CONFIGURE_ARGS+=       --enable-dict-dir=${PREFIX}/lib/aspell
 CONFIGURE_ENV+=                gt_cv_func_gnugettext1_libintl=yes
 
 .include "../../mk/bsd.prefs.mk"
 
+# aspell does not work with curses in NetBSD <= 8.0.
+.if !empty(MACHINE_PLATFORM:MNetBSD-8.0*) || \
+    !empty(MACHINE_PLATFORM:MNetBSD-[0-7].*)
+USE_CURSES=    ncurses
+.endif
+
 .if !empty(MACHINE_PLATFORM:MIRIX-5*)
 CPPFLAGS+=     -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF
 # IRIX 5 has an older implementation of signal()
@@ -47,5 +53,5 @@
 LIBS.SunOS+=           -lm
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index