[MacPorts] #24841: stellarium-0.10.4 compilation error - build failure
MacPorts
noreply at macports.org
Wed May 12 13:41:31 PDT 2010
#24841: stellarium-0.10.4 compilation error - build failure
-------------------------------+--------------------------------------------
Reporter: dfokkema@… | Owner: raimue@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: stellarium
-------------------------------+--------------------------------------------
Comment(by dfokkema@…):
Got it, thanks! So CMakeLists.txt defines a flag to use the
MacOSX10.4u.sdk, but that's not present in my XCode install. The following
patch solves the problem and stellarium works perfectly.
--- CMakeLists.txt.orig 2010-05-12 22:34:28.000000000 +0200
+++ CMakeLists.txt 2010-05-12 22:28:26.000000000 +0200
@@ -55,7 +55,7 @@
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra -Wno-
unused-parameter")
SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.4")
SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.4")
- SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk/")
+ SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk/")
# Universal binary
#SET(CMAKE_OSX_ARCHITECTURES "i386;ppc")
SET(CMAKE_OSX_ARCHITECTURES "x86_64")
--
Ticket URL: <http://trac.macports.org/ticket/24841#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list