Changeset 99541
- Timestamp:
- Nov 9, 2012, 3:32:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/kde/kdevplatform/Portfile
r99096 r99541 4 4 PortSystem 1.0 5 5 PortGroup kde4 1.1 6 PortGroup muniversal 1.0 6 7 7 8 name kdevplatform 8 version 1.4. 09 version 1.4.1 9 10 categories kde kde4 10 11 platforms darwin … … 19 20 Quanta, Kile, KTechLab ... etc. 20 21 21 set kdevelopversion 4.4. 022 set kdevelopversion 4.4.1 22 23 23 24 homepage http://www.kdevelop.org/ … … 25 26 distname ${name}-${version} 26 27 27 checksums rmd160 e15b8a5733500efcba9f48232201153c9ed4f2bb\28 sha256 fd00aff21af14c07eca6e0dfbc0d4dd1edcc4ec3c50e6a5dd7e962214922c08e28 checksums rmd160 2726503031278ee0da8357cfa3796edb4625c398 \ 29 sha256 d48dba12cc61e006d1ed63c664a1cfa0d6c86a241b633565cda034cd42a78033 29 30 30 31 use_bzip2 yes … … 33 34 port:boost 34 35 35 #Deactivating subversion detection at configure to avoid hidden \ 36 #use of system one (ticket #35185) 37 patchfiles-append patch-pluginsCMakeLists.diff 36 #1. Deactivating subversion detection at configure to avoid hidden \ 37 # use of system one (ticket #35185) 38 #2. Suppress ambiguous use of Sublime::Position class 39 patchfiles-append patch-pluginsCMakeLists.diff \ 40 patch-uicontroller.cpp.diff 38 41 39 42 variant subversion description {Add subversion support for kdevelop} { … … 42 45 } 43 46 44 # Adjusting configure flags for Clang45 if {${configure.compiler} == "clang"}{46 if {${os.major} >= 11} {47 #Case of Lion and higher (ticket #34545)48 configure.args-append -DCMAKE_CXX_FLAGS="-Wno-reserved-user-defined-literal -stdlib=libc++" \49 -DHAVE_UNORDERED_MAP=147 #Deleting double architecture build from cmake group 48 pre-configure { 49 configure.universal_args-delete \ 50 -DCMAKE_OSX_ARCHITECTURES=\"[join ${configure.universal_archs} \;]\" 51 if {${configure.sdkroot} != ""} { 52 configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}" 50 53 } else { 51 #Patching code for clang on SL where libc++ is not available (ticket #34859) 52 configure.args-append -DCMAKE_CXX_FLAGS="-Wno-reserved-user-defined-literal" 53 patchfiles-append patch-uicontroller.cpp.diff 54 configure.args-append -DCMAKE_OSX_SYSROOT=/ 54 55 } 55 } else { 56 #Patching code in case of gcc 57 patchfiles-append patch-uicontroller.cpp.diff 56 } 57 58 if {${configure.compiler} == "clang" && ${os.major} >= 11} { 59 array set merger_configure_args { 60 i386 "" 61 x86_64 "-DCMAKE_CXX_FLAGS=\"-stdlib=libc++\" -DHAVE_UNORDERED_MAP=1" 62 } 63 } 64 65 if {![variant_isset universal]} { 66 #Using c++0x for Lion and higher in case of clang 64-bit 67 if {${configure.compiler} == "clang" && ${build_arch} == "x86_64" && ${os.major} >= 11} { 68 configure.args-append -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DHAVE_UNORDERED_MAP=1 69 } 58 70 } 59 71
Note: See TracChangeset
for help on using the changeset viewer.