Changeset 116585 for trunk/dports/aqua


Ignore:
Timestamp:
Jan 29, 2014, 2:14:53 PM (6 years ago)
Author:
jmr@…
Message:

fugu: fix build with recent Xcode

Location:
trunk/dports/aqua/fugu
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/fugu/Portfile

    r116580 r116585  
    3030xcode.destroot.settings SKIP_INSTALL=yes
    3131
     32if {${os.major} >= 11} {
     33    patchfiles-append no-TruncateThemeText.patch
     34}
     35
    3236post-patch {
    33         reinplace "s|build/|build/${xcode.configuration}/|" \
    34                 ${worksrcpath}/Fugu.pbproj/project.pbxproj
     37    if {[vercmp $xcodeversion 4.0] >= 0} {
     38        move ${worksrcpath}/Fugu.pbproj ${worksrcpath}/Fugu.xcodeproj
     39        file copy -force ${filespath}/project.pbxproj ${worksrcpath}/Fugu.xcodeproj/
     40        reinplace "s|build/|build/${xcode.configuration}/|" \
     41            ${worksrcpath}/Fugu.xcodeproj/project.pbxproj
     42    } else {
     43        reinplace "s|build/|build/${xcode.configuration}/|" \
     44            ${worksrcpath}/Fugu.pbproj/project.pbxproj
     45        }
    3546}
    3647
Note: See TracChangeset for help on using the changeset viewer.