summaryrefslogtreecommitdiff
path: root/graphics/gnuplot
diff options
context:
space:
mode:
authormlelstv <mlelstv@pkgsrc.org>2012-11-01 14:04:58 +0000
committermlelstv <mlelstv@pkgsrc.org>2012-11-01 14:04:58 +0000
commitf2bc3a3144f6e00072a7189026175295927b8369 (patch)
treefe577350f8aea89f34eb74c5af0bc1d00a021887 /graphics/gnuplot
parent4c92beac85e3db704a34c6a41b042136754e3a5d (diff)
downloadpkgsrc-f2bc3a3144f6e00072a7189026175295927b8369.tar.gz
libedit in older NetBSD is too old. Use the readline package instead.
Diffstat (limited to 'graphics/gnuplot')
-rw-r--r--graphics/gnuplot/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/gnuplot/Makefile b/graphics/gnuplot/Makefile
index 463b4ea3cf0..ee8da06d049 100644
--- a/graphics/gnuplot/Makefile
+++ b/graphics/gnuplot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2012/10/24 13:32:54 he Exp $
+# $NetBSD: Makefile,v 1.68 2012/11/01 14:04:58 mlelstv Exp $
DISTNAME= gnuplot-4.6.0
PKGREVISION= 4
@@ -30,8 +30,13 @@ USE_LANGUAGES= c
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
+. if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[01234].*)
+CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
+.include "../../devel/readline/buildlink3.mk"
+. else
CONFIGURE_ARGS+= --with-readline=bsd
.include "../../mk/curses.buildlink3.mk"
+. endif
.else
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
.include "../../devel/readline/buildlink3.mk"