diff options
Diffstat (limited to 'devel/cmake/patches/patch-af')
-rw-r--r-- | devel/cmake/patches/patch-af | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/devel/cmake/patches/patch-af b/devel/cmake/patches/patch-af deleted file mode 100644 index 88d4e8823db..00000000000 --- a/devel/cmake/patches/patch-af +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-af,v 1.1 2009/04/07 10:42:14 drochner Exp $ - ---- Modules/CPack.RuntimeScript.in.orig 2009-03-31 13:42:52.000000000 +0200 -+++ Modules/CPack.RuntimeScript.in -@@ -6,7 +6,7 @@ CWD="`dirname \"$0\"`" - TMP=/tmp/$UID/TemporaryItems - - version=`sw_vers -productVersion` --if [ "$?" == "0" ]; then -+if [ "$?" = "0" ]; then - major=${version%%\.*} - rest=${version#*\.} - minor=${rest%%\.*} -@@ -24,7 +24,7 @@ echo "Build = $build" - - - # if 10.5 or greater, then all the open-x11 stuff need not occur --if ((( $major < 10 )) || ((( $major == 10)) && (( $minor < 5 )))); then -+if (expr \( $major \< 10 \) \| \( \( $major = 10 \) \& \( $minor \< 5 \) \)); then - version=`sw_vers -productVersion` - if [ "$?" = "0" ]; then - major=${version%%\.*} -@@ -44,7 +44,7 @@ echo "Build = $build" - - - # if 10.5 or greater, then all the open-x11 stuff need not occur --if ((( $major < 10 )) || ((( $major == 10)) && (( $minor < 5 )))); then -+if (expr \( $major \< 10 \) \| \( \( $major = 10 \) \& \( $minor \< 5 \) \)); then - ps -wx -ocommand | grep -e '[X]11.app' > /dev/null - if [ "$?" != "0" -a ! -f ~/.xinitrc ]; then - echo "rm -f ~/.xinitrc" > ~/.xinitrc |