Ignore:
Timestamp:
Jan 8, 2010, 6:51:35 PM (8 years ago)
Author:
jmr@…
Message:

libwmf: fix dependencies, disable gdk-pixbuf properly (#23183)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/libwmf/Portfile

    r61377 r62461  
    2121master_sites            sourceforge:wvware
    2222
    23 checksums                       md5 d1177739bf1ceb07f57421f0cee191e0
     23checksums                       md5 d1177739bf1ceb07f57421f0cee191e0 \
     24                                        sha1 822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89
    2425
    2526depends_build \
    26         port:autoconf \
    27         port:automake \
    28         port:libtool
     27        port:pkgconfig
    2928
    3029depends_lib \
     
    3231        port:libpng \
    3332        port:jpeg \
    34         port:freetype
     33        port:freetype \
     34        port:expat
    3535
    36 post-patch {
    37         system "cd ${worksrcpath} && autoreconf -fvi"
    38         reinplace "s|@LIBWMF_GDK_PIXBUF_TRUE@|#|g" ${worksrcpath}/src/Makefile.in
    39         reinplace "s|@LIBWMF_GDK_PIXBUF_FALSE@||g" ${worksrcpath}/src/Makefile.in
    40 }
     36patchfiles      configure.ac.diff
    4137
    42 configure.args  --with-jpeg --without-x --with-fontdir=${prefix}/share/fonts/${name}
     38use_autoreconf  yes
     39autoreconf.args -fvi
     40
     41configure.args  --with-jpeg \
     42                                --with-expat \
     43                                --without-x \
     44                                --with-fontdir=${prefix}/share/fonts/${name}
    4345
    4446post-destroot {
     
    4648        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog \
    4749                NEWS README TODO ${destroot}${prefix}/share/doc/${name}
    48 }
    49 
    50 variant expat conflicts xml2 description {Use expat not libxml2} {
    51         depends_lib-append      port:expat
    52         configure.args-append   --with-expat
    5350}
    5451
     
    6663
    6764variant xml2 conflicts expat description {Use libxml2 not expat} {
     65        depends_lib-delete      port:expat
    6866        depends_lib-append      port:libxml2
     67        configure.args-delete   --with-expat
    6968        configure.args-append   --with-libxml2
    7069}
Note: See TracChangeset for help on using the changeset viewer.