summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-chewing/patches/patch-aa
blob: 80b06e7b7a972abf7016f87fa116b15d5a9d0584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.1 2010/12/24 12:32:05 obache Exp $

"-m" option for grep is not portable.

--- Modules/ManageVersion.cmake.orig	2010-11-19 02:41:24.000000000 +0000
+++ Modules/ManageVersion.cmake
@@ -31,7 +31,7 @@ IF(NOT DEFINED _MANAGE_VERSION_CMAKE_)
     INCLUDE(ManageVariable)
 
     MACRO(LOAD_RELEASE_FILE releaseFile)
-	COMMAND_OUTPUT_TO_VARIABLE(_grep_line grep -F "[Changes]" -n -m 1 ${releaseFile})
+	COMMAND_OUTPUT_TO_VARIABLE(_grep_line grep -F "[Changes]" -n ${releaseFile})
 	SET(RELEASE_FILE ${releaseFile})
 	#MESSAGE("_grep_line=|${_grep_line}|")
 	IF("${_grep_line}" STREQUAL "")