From ee03ceb80c5a860c63a4b9d24d7ad4710ef7c1ff Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 20 Nov 2013 07:17:22 +0000 Subject: rectify sed pattern for guile version check in graphviz --- graphics/graphviz/distinfo | 4 ++-- graphics/graphviz/patches/patch-configure | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/graphviz') diff --git a/graphics/graphviz/distinfo b/graphics/graphviz/distinfo index 474f8c47622..cb44fbda2bf 100644 --- a/graphics/graphviz/distinfo +++ b/graphics/graphviz/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.46 2013/11/06 00:50:47 gdt Exp $ +$NetBSD: distinfo,v 1.47 2013/11/20 07:17:22 richard Exp $ SHA1 (graphviz-2.34.0.tar.gz) = 5a0c00bebe7f4c7a04523db21f40966dc9f0d441 RMD160 (graphviz-2.34.0.tar.gz) = 583a2332bcf0f9c8d24d19044415cd768be51745 Size (graphviz-2.34.0.tar.gz) = 23921350 bytes SHA1 (patch-config_config__perl.pl) = 85d535282a819c1055386244f7b520387d0ddbb1 -SHA1 (patch-configure) = c3510ba9be6f2cc964c3b221f958a0b52b3a388b +SHA1 (patch-configure) = 8f45d8cbaf9798a01216d7850c5c1dbe9dfd9106 SHA1 (patch-configure.ac) = 02ab80dfe182586e78b49d91a8cde69d1d266d4e SHA1 (patch-lib_gvc_Makefile.in) = 44c514720a840574c9aa75f4c67798471138a642 SHA1 (patch-plugin_gd_Makefile.am) = 81de41e7589eaf7682a21636155840123a7716ab diff --git a/graphics/graphviz/patches/patch-configure b/graphics/graphviz/patches/patch-configure index 8d17921aa6d..6589255e445 100644 --- a/graphics/graphviz/patches/patch-configure +++ b/graphics/graphviz/patches/patch-configure @@ -1,4 +1,4 @@ -$NetBSD: patch-configure,v 1.4 2013/11/06 00:50:47 gdt Exp $ +$NetBSD: patch-configure,v 1.5 2013/11/20 07:17:22 richard Exp $ 1. chunk: fix ./configure.lineno: 1: Syntax error: Bad substitution @@ -50,7 +50,7 @@ last last chunk: fix sed expression not to use + which is not in BRE (guile) use_guile="No (guile not available)" else - GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'` -+ GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* *\([0-9\.]*\)$/\1/ p'` ++ GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \([0-9\.]*\)$/\1/ p'` GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1` GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2` if test 0$GUILE_VERSION_MAJOR -lt 2; then -- cgit v1.2.3