summaryrefslogtreecommitdiff
path: root/editors/gtranslator/patches/patch-aa
blob: becfca9b8a21bd5af19ab900d0cd6f07081187d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2008/01/01 15:44:55 joerg Exp $

--- configure.orig	2006-11-28 00:13:09.000000000 +0000
+++ configure
@@ -7127,7 +7127,7 @@ fi
 if test "z$sc_present" = "zyes" ; then
 	{ echo "$as_me:$LINENO: checking for scrollkeeper" >&5
 echo $ECHO_N "checking for scrollkeeper... $ECHO_C" >&6; }
-	_VERSION=`scrollkeeper-config --version|sed -e 's/\.//g'`
+	_VERSION=`scrollkeeper-config --version|sed -e 's/\.//g' | awk '{ print $1 }'`
 	if test $_VERSION -ge 0 -o $_VERSION -ge 02; then
 		{ echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }