pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/readline devel/readline: On DragonFly, uses ncur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03ed919e766f
branches:  trunk
changeset: 355188:03ed919e766f
user:      marino <marino%pkgsrc.org@localhost>
date:      Thu Nov 24 23:35:19 2016 +0000

description:
devel/readline: On DragonFly, uses ncurses instead of termcap

There is no termcap library available in any form on DragonFly.
Discussed with wiz@.

diffstat:

 devel/readline/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 5b713f10ea8b -r 03ed919e766f devel/readline/Makefile
--- a/devel/readline/Makefile   Thu Nov 24 22:53:13 2016 +0000
+++ b/devel/readline/Makefile   Thu Nov 24 23:35:19 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2016/11/20 01:14:21 dholland Exp $
+# $NetBSD: Makefile,v 1.65 2016/11/24 23:35:19 marino Exp $
 
 READLINE_VERSION=      7.0
 
@@ -24,5 +24,10 @@
 BUILD_TARGET=          everything-libtool
 INSTALL_TARGET=                install-libtool
 
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+=       --with-curses=yes
+.include "../../mk/curses.buildlink3.mk"
+.else
 .include "../../mk/termcap.buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index