Ticket #37184: Portfile-digikam.diff

File Portfile-digikam.diff, 909 bytes (added by jgosmann (Jan Gosmann), 12 years ago)

Patch to fix build of digikam with new opencv

  • (a) a/Portfile.orig vs. (b) b/Portfile

    diff --git a/Portfile.orig b/Portfile
    index d0dfd15..15de5a8 100644
    a b PortGroup kde4 1.1 
    66
    77name                digikam
    88version             2.9.0
     9revision            1
    910categories          kde kde4
    1011license             GPL-2+
    1112maintainers         hyper-world.de:jan openmaintainer
    depends_lib-append port:boost \ 
    6162                    path:bin/mysql_config5:mysql5 \
    6263                    port:shared-desktop-ontologies
    6364
    64 depends_run-append  port:oxygen-icons
     65depends_run-append  port:oxygen-icons port:qt4-mac-sqlite3-plugin
    6566
    66 configure.args-append -DOpenCV_DIR=${prefix}/lib/cmake ../${distname}
     67compiler.blacklist  gcc-4.0 clang
     68use_parallel_build  yes
     69
     70configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' -DOpenCV_DIR=${prefix}/lib/cmake ../${distname}
    6771