Changeset 99544
- Timestamp:
- Nov 9, 2012, 3:35:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/kde/kdevelop/Portfile
r99254 r99544 4 4 PortSystem 1.0 5 5 PortGroup kde4 1.1 6 PortGroup muniversal 1.0 6 7 7 8 name kdevelop 8 version 4.4.0 9 revision 1 9 version 4.4.1 10 10 categories kde kde4 11 11 platforms darwin … … 24 24 master_sites kde:stable/kdevelop/${version}/src/ 25 25 26 checksums rmd160 5bef6f24b9c43175c09fc8820139dcd5635103b5\27 sha256 eb276293a67f934919319e7561344a23e1e6fb07d3dc1aedbb424d9dc11f5f9126 checksums rmd160 e37a5f25711bb283b68e7a8d2a2f194c3176abcb \ 27 sha256 7efac56e0390910247e8d3c4a80ce215a1dc4c75b0a1ecc5b594d8de35acde0c 28 28 29 29 use_bzip2 yes … … 36 36 port:oxygen-icons 37 37 38 #Avoid automatic use of valgrind unless specified in variant 39 #Avoid automatic use of okteta unless specified in variant 40 #Suppress general std=c++0x definition which crashes with pure C files 38 #1. Avoid automatic use of valgrind unless specified in variant 39 #2. Avoid automatic use of okteta unless specified in variant 40 #3. Suppress general std=c++0x definition which crashes with pure C files 41 #4-5. Change use of std::list with QList which is recognized during build 41 42 patchfiles patch-ConfigureChecks.diff \ 42 43 patch-okteta.diff \ 43 patch-Cxx.diff 44 patch-Cxx.diff \ 45 patch-declarationbuilder.diff \ 46 patch-context.diff 44 47 45 48 if {![variant_isset docs]} { … … 57 60 } 58 61 59 #Adjusting configure flags for Clang 60 if {${configure.compiler} == "clang"} { 61 if {${os.major} >= 11} { 62 #Case of Lion and higher (ticket #34545) 63 configure.args-append -DCMAKE_CXX_FLAGS="-Wno-reserved-user-defined-literal -stdlib=libc++" \ 64 -DHAVE_UNORDERED_MAP=1 65 patchfiles-append patch-declarationbuilder.diff patch-context.diff 62 #Deleting double architecture build from cmake group 63 pre-configure { 64 configure.universal_args-delete \ 65 -DCMAKE_OSX_ARCHITECTURES=\"[join ${configure.universal_archs} \;]\" 66 if {${configure.sdkroot} != ""} { 67 configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}" 66 68 } else { 67 #Patching code for clang on SL where libc++ is not available 68 configure.args-append -DCMAKE_CXX_FLAGS="-Wno-reserved-user-defined-literal" 69 configure.args-append -DCMAKE_OSX_SYSROOT=/ 70 } 71 } 72 73 if {${configure.compiler} == "clang" && ${os.major} >= 11} { 74 array set merger_configure_args { 75 x86_64 "-DCMAKE_CXX_FLAGS=\"-stdlib=libc++\" -DHAVE_UNORDERED_MAP=1" 76 } 77 } 78 79 if {![variant_isset universal]} { 80 #Using c++0x for Lion and higher in case of clang 64-bit 81 if {${configure.compiler} == "clang" && ${build_arch} == "x86_64" && ${os.major} >= 11} { 82 configure.args-append -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DHAVE_UNORDERED_MAP=1 69 83 } 70 84 }
Note: See TracChangeset
for help on using the changeset viewer.