diff options
author | rin <rin@pkgsrc.org> | 2020-03-17 13:40:04 +0000 |
---|---|---|
committer | rin <rin@pkgsrc.org> | 2020-03-17 13:40:04 +0000 |
commit | f1b01d58a205eb746003df75693ea2e57d3d722d (patch) | |
tree | 5aa9c1bc9e24d684703d18c26df9427d927619ea /graphics | |
parent | a8c589b48df555aec8c8a955be692bbbfcc9ba1e (diff) | |
download | pkgsrc-f1b01d58a205eb746003df75693ea2e57d3d722d.tar.gz |
PR pkg/55078
Let users choose editline or readline by READLINE_DEFAULT.
Bump revision.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gnuplot/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/gnuplot/Makefile b/graphics/gnuplot/Makefile index 321f2ae20ad..36542764f74 100644 --- a/graphics/gnuplot/Makefile +++ b/graphics/gnuplot/Makefile @@ -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 @@ CONFLICTS+= gnuplot-nox11-[0-9]* 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 @@ SUBST_SED.fontpath= -e 's,@PKGSRC_PREFIX@,"${PREFIX}",' .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" |