commit a3e106f541eec2d9700695ce20378e13463fcb12
parent 4685cda0a048df68864275bad64543cc6e09a71e
Author: Jaromil <jaromil@dyne.org>
Date:   Mon, 28 May 2012 19:38:59 +0200
check if ports are present when building osx
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/build-osx.sh b/build-osx.sh
@@ -70,6 +70,10 @@ EOF
 
 notice "Building Jaro Mail binary stash for Apple/OSX"
 
+if ! [ -r /opt/local/bin/port ]; then
+	error "MacPorts not found in /opt/local. Operation aborted."
+	return 1
+fi
 act "lbdb address book module"
 cd src/lbdb-ABQuery
 xcodebuild > /dev/null