Ticket #36798: Portfile.diff

File Portfile.diff, 927 bytes (added by NicosPavlov, 12 years ago)
  • Portfile

    old new  
    33
    44PortSystem 1.0
    55PortGroup               cmake 1.0
     6PortGroup               muniversal 1.0
    67
    78name                    clucene
    89version                 2.3.3.4
     
    2728# http://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446
    2829patchfiles              0001-Fix-.pc-file-by-adding-clucene-shared-library.patch
    2930
     31#Deleting double architecture build from cmake group
     32pre-configure {
     33    configure.universal_args-delete \
     34        -DCMAKE_OSX_ARCHITECTURES=\"[join ${configure.universal_archs} \;]\"
     35    if {${configure.sdkroot} != ""} {
     36        configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}"
     37    } else {
     38        configure.args-append -DCMAKE_OSX_SYSROOT=/
     39    }
     40}
     41
    3042livecheck.regex "${name}-core-(\\d+\.\\d+\.\\d+\[a-z\]*)${extract.suffix}"
    3143