Ticket #44523: Portfile.diff

File Portfile.diff, 2.3 KB (added by mattcottrell, 10 years ago)

Portfile diff for arb 6.0.1

  • Portfile

    old new  
    55
    66name                    arb
    77epoch                   2
    8 version                 6.0
     8version                 6.0.1
    99categories              science
    1010maintainers             mac.com:matt.cottrell
    1111platforms               darwin
     
    2525
    2626license                 Restrictive/Distributable
    2727
    28 master_sites            http://download.arb-home.de/build/$name-${version}/
     28master_sites            http://download.arb-home.de/release/$name-${version}/
    2929distname                arb-${version}-source
    3030extract.suffix          .tgz
    31 worksrcdir              arbsrc_12378
     31worksrcdir              arbsrc_12565
    3232
    33 checksums               rmd160  8e6dfbb2676908d367f2a5a5a884b34c3f526494 \
    34                         sha256  0999c32fb5241d0834ba40edea070c43644e89c78c1986ec928c91f35d018b40
     33checksums               rmd160  37c4dd0d973b737758d3da84bdfdec0bd3d44bc1 \
     34                        sha256  1b91d883981e47f3d96c4da80d9e1bf6e842e52dfe7e38b40bf3d091545aedcb
    3535
    3636depends_build           port:imake \
    3737                        port:makedepend \
     
    5050                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
    5151                        port:coreutils
    5252
    53 
    54 
    5553patchfiles              patch-ARB-config.makefile.diff \
    5654                        patch-ARB-intro.fig.diff \
    57                         patch-ARB-arb.diff
     55                        patch-ARB-arb.diff \
     56                        patch-ARB-arb_compiler_version.pl.diff
     57                       
     58# https://trac.macports.org/ticket/44368
     59platform darwin 11 {
     60patchfiles             patch-ARB-globalsosx.cpp.diff
     61}
    5862
    5963configure               {
    6064                        if {${build_arch} eq "ppc" || ${build_arch} eq "i386"} {
     
    7377                        PATH=${worksrcpath}/bin:$env(PATH)
    7478
    7579compiler.blacklist *llvm-gcc-4.2
    76                        
     80
     81# https://trac.macports.org/ticket/33756
     82platform darwin {
     83    if {${os.major} <= 10} {
     84        depends_lib
     85        depends_run
     86        pre-fetch {
     87            ui_error "$name does not build on Snow Leopard or lower."
     88            error "unsupported platform"
     89        }
     90    }
     91}
     92                       
    7793build.args-append       CXX=${configure.cxx} \
    7894                        CC=${configure.cc}
    7995