summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-table-chinese/patches/patch-ad
blob: 3ef3d757114fa8a308b78cca6658e51acb00108f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.2 2011/09/01 11:46:07 obache Exp $

"-m" option for grep is not portable.

--- Modules/ManageVersion.cmake.orig	2011-08-16 04:00:51.000000000 +0000
+++ Modules/ManageVersion.cmake
@@ -44,7 +44,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}|")