Ticket #43614: Portfile-mupdf.2.diff

File Portfile-mupdf.2.diff, 1.4 KB (added by harciga, 10 years ago)
  • Portfile

    old new  
    3434checksums           rmd160 368140a0f825483268faaf778328bc6c3f4d461f \
    3535                    sha256 018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec22
    3636
    37 use_configure       no
     37patchfiles          patch-Makerules.diff
    3838
    3939depends_build       port:pkgconfig
    4040
     
    4545                    port:xorg-libXext \
    4646                    port:zlib
    4747
     48use_configure       no
     49
     50variant universal   {}
     51
    4852build.args          PREFIX=${prefix}
    4953build.args-append   CC=${configure.cc} \
    5054                    CXX=${configure.cxx} \
    5155                    CPP=${configure.cpp}
    52 build.env           build=release \
    53                     HAVE_CURL=no \
     56
     57build.env           CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
     58                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
     59                    build=release \
    5460                    verbose=1
    5561
     62eval destroot.env   ${build.env}
     63
    5664destroot.destdir    prefix=${destroot}${prefix}
    5765
     66# https://trac.macports.org/ticket/33240
     67# Mac OS X Tiger has an old version of `make`, needs to use GNU make
     68platform darwin 8 {
     69    depends_build-append port:gmake
     70    build.cmd ${prefix}/bin/gmake
     71}
     72
    5873livecheck.type      regex
    5974livecheck.url       ${master_sites}
    6075livecheck.regex     ${name}-(\\d\\.\\d)-source