head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.1.0.4 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.2 pkgsrc-2009Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2009.11.25.19.08.18; author adam; state dead; branches; next 1.1; 1.1 date 2009.04.07.10.42.14; author drochner; state Exp; branches; next ; desc @@ 1.2 log @Changed 2.8.0: This version of CMake fixes many open issues and provides some exciting new features. @ text @$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 @ 1.1 log @update to 2.6.3 changes: Add parenthetical expressions to if Improve scoping of policies (see cmake_policy and CMP0011) Teach find_package more config file locations Many improved Find scripts in Modules Added an unset command Better reporting when nmake compiler environment is not correct @ text @d1 1 a1 1 $NetBSD$ @