pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gnuplot libedit in older NetBSD is too old. U...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26fdfdb315ce
branches:  trunk
changeset: 610627:26fdfdb315ce
user:      mlelstv <mlelstv%pkgsrc.org@localhost>
date:      Thu Nov 01 14:04:58 2012 +0000

description:
libedit in older NetBSD is too old. Use the readline package instead.

diffstat:

 graphics/gnuplot/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 43516fbb2d3a -r 26fdfdb315ce graphics/gnuplot/Makefile
--- a/graphics/gnuplot/Makefile Thu Nov 01 08:55:01 2012 +0000
+++ b/graphics/gnuplot/Makefile Thu Nov 01 14:04:58 2012 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index