pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gnuplot PR pkg/55078



details:   https://anonhg.NetBSD.org/pkgsrc/rev/545887b9ed33
branches:  trunk
changeset: 413239:545887b9ed33
user:      rin <rin%pkgsrc.org@localhost>
date:      Tue Mar 17 13:40:04 2020 +0000

description:
PR pkg/55078
Let users choose editline or readline by READLINE_DEFAULT.
Bump revision.

diffstat:

 graphics/gnuplot/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a3fa304cf854 -r 545887b9ed33 graphics/gnuplot/Makefile
--- a/graphics/gnuplot/Makefile Tue Mar 17 13:37:11 2020 +0000
+++ b/graphics/gnuplot/Makefile Tue Mar 17 13:40:04 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.139 2020/03/10 22:10:07 wiz Exp $
+# $NetBSD: Makefile,v 1.140 2020/03/17 13:40:04 rin Exp $
 
 DISTNAME=      gnuplot-5.2.8
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES+=   graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
 
@@ -17,7 +17,6 @@
 USE_LANGUAGES=         c
 USE_TOOLS+=            makeinfo pkg-config gmake
 GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --with-readline=bsd
 CONFIGURE_ARGS+=       --without-latex
 CONFIGURE_ARGS+=       --without-tutorial
 CONFIGURE_ARGS+=       ac_cv_prog_EMACS=
@@ -36,7 +35,13 @@
 
 .include "options.mk"
 
+.include "../../mk/readline.buildlink3.mk"
+.if   ${READLINE_TYPE} == "editline"
+CONFIGURE_ARGS+=       --with-readline=bsd
+.elif ${READLINE_TYPE} == "readline"
+CONFIGURE_ARGS+=       --with-readline=gnu
+.endif
+
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
-.include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index