Ticket #54073: Portfile.diff

File Portfile.diff, 922 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago)
  • Portfile

    old new  
    2828
    2929patchfiles      patch-Makefile.am.diff  patch-doc-Makefile.am.diff nolibstdc++.patch
    3030
    31 depends_lib     port:cppunit
     31if { ![variant_isset tests] } {
     32    patchfiles-append patch-no_cppunit.diff
     33}
    3234
    3335use_autoreconf  yes
    3436autoreconf.args -fvi -I m4
     
    4345                path:bin/latex:texlive
    4446}
    4547
     48variant tests description {Build unit tests} {
     49    # see https://github.com/macports/macports-ports/commit/ff3d49ef9854c92efdbf46f8791cba6f0511d368#diff-78659008428062a5a45adf6f07052d03
     50    PortGroup  cxx11 1.1
     51    configure.cxxflags-append \
     52        -std=c++11 \
     53        -Wno-c++11-narrowing
     54
     55    depends_build-append port:cppunit
     56}
     57
    4658livecheck.type  regex
    4759livecheck.url   http://sourceforge.net/projects/dirac/files/dirac-codec
    4860livecheck.regex "Dirac-(\\d+(?:\\.\\d+)*)"