summaryrefslogtreecommitdiff
path: root/graphics/gnuplot
diff options
context:
space:
mode:
authormlelstv <mlelstv>2012-11-01 14:04:58 +0000
committermlelstv <mlelstv>2012-11-01 14:04:58 +0000
commit7affa833433780cc6625aa816cc08b6711ca6f8e (patch)
treefe577350f8aea89f34eb74c5af0bc1d00a021887 /graphics/gnuplot
parent3c9b2a80a3a75ac4b5a0d3889775034b928e23fc (diff)
downloadpkgsrc-7affa833433780cc6625aa816cc08b6711ca6f8e.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"