[rkward-cvs] SF.net SVN: rkward-code:[4666] trunk/rkward/rkward/CMakeLists.txt

m-eik at users.sf.net m-eik at users.sf.net
Thu Apr 4 18:20:47 UTC 2013


Revision: 4666
          http://sourceforge.net/p/rkward/code/4666
Author:   m-eik
Date:     2013-04-04 18:20:47 +0000 (Thu, 04 Apr 2013)
Log Message:
-----------
added an explaining comment

Modified Paths:
--------------
    trunk/rkward/rkward/CMakeLists.txt

Modified: trunk/rkward/rkward/CMakeLists.txt
===================================================================
--- trunk/rkward/rkward/CMakeLists.txt	2013-04-04 16:17:17 UTC (rev 4665)
+++ trunk/rkward/rkward/CMakeLists.txt	2013-04-04 18:20:47 UTC (rev 4666)
@@ -9,7 +9,12 @@
 	SET(CPACK_BUNDLE_ICON rkward.icns)
 	SET(CPACK_BUNDLE_NAME RKWard)
 	SET(CPACK_BUNDLE_STARTUP_COMMAND rkward)
-	SET(LOOKUP_LOCAL_MAKE "if ! [ -f /usr/bin/make ] && [ -f \"${BIN_INSTALL_DIR}/gmake\" ] ; then export MAKE=\"${BIN_INSTALL_DIR}/gmake\" ; fi")
+	SET(LOOKUP_LOCAL_MAKE "# 'make' is needed to build source packages.
+# usually it's only available on OS X if XCode or similar was installed,
+# so we'll check for that and try to provide an alternative if it's not found
+if ! [ -f /usr/bin/make ] && [ -f \"${BIN_INSTALL_DIR}/gmake\" ] ; then
+  export MAKE=\"${BIN_INSTALL_DIR}/gmake\"
+fi")
 	SET(KDE_START_DBUS "launchctl load -w \"${CMAKE_INSTALL_PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist\"")
 #	SET(CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/rkward/Info.plist)
 ELSE(Q_WS_MAC)





More information about the rkward-tracker mailing list