Ticket #15298: gtk-engines2-Portfile.diff

File gtk-engines2-Portfile.diff, 527 bytes (added by mp@…, 17 years ago)
  • Portfile

    old new  
    4141        port:pango \
    4242        port:tiff
    4343
    44 configure.ldflags-append        "-lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lglib-2.0"
     44variant quartz {}
     45
     46if {![variant_isset quartz]} {
     47        configure.ldflags-append        "-lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lglib-2.0"
     48} else {
     49        configure.ldflags-append        "-lgdk_pixbuf-2.0 -lgdk-quartz-2.0 -lglib-2.0"
     50}
     51
    4552configure.cflags-append         "-I${prefix}/include"
    4653configure.cppflags-append       "-no-cpp-precomp"