Ticket #47155: Portfile.diff

File Portfile.diff, 2.0 KB (added by stevecheckoway (Stephen Checkoway), 10 years ago)
  • Portfile

    old new  
    55PortGroup           qt4 1.0
    66
    77name                djview
    8 version             4.9
    9 revision            1
     8version             4.10
    109categories          aqua graphics www
    1110license             GPL-2+ MIT
    1211maintainers         nicos openmaintainer
     
    1918                    looks nicer on a screen and consume less client resources than competing \
    2019                    formats.
    2120
    22 homepage            http://djvu.sourceforge.net/
     21homepage            http://djvu.sourceforge.net/djview4.html
    2322
    2423master_sites        sourceforge:djvu
    2524
    26 #Patch to suppress use of translations in code, as English cannot be obtained
    27 #otherwise (ticket #36210)
    28 patchfiles          patch-djview.cpp.diff
     25patchfiles          patch-makefile-target-fix.diff \
     26                    patch-makefile-qmake-workaround.diff
    2927
    30 checksums           rmd160  c0d6b33767096ee9f1aeee3f3bf82b0dc10b5b42 \
    31                     sha256  d150f557aaa073356d77c1f5e566a6a566281df5f92395b6822139f0e5c90e0c
    32 
    33 worksrcdir          ${name}4-${version}
     28checksums           rmd160  859dcdbfd43ecf7506786f5658ca12ce6041d83d \
     29                    sha256  7caf7ee249edd994092b32a5573f111b2337ec99159083a5cf1a20432633ba7f
    3430
    3531depends_lib-append \
    3632    port:djvulibre
     
    4339    --disable-desktopfiles \
    4440    QMAKESPEC=${qt_mkspecs_dir}/macx-g++
    4541
    46 # when Qt is installed without +universal, and qmake is called with
    47 # "QMAKE_LDFLAGS += -arch foo", and "foo" is the native arch, then, at
    48 # least sometimes, qmake will erroneously remove the second "foo" but
    49 # leave the "-arch" flag -- generating an error at linking.  Not sure
    50 # if this is the case with +debug; does not matter for this port,
    51 # since it has not debug variant.
    52 post-configure {
    53     if {![variant_isset universal]} {
    54         reinplace "s|\\(-arch ${build_arch}\\) -arch|\\1|" \
    55             ${worksrcpath}/src/Makefile
    56     }
    57 }
    58 
    5942# allow ccache, if specified by the user
    6043pre-build {
    6144    if {[tbool configure.ccache]} {