Changeset 47550 for trunk/dports/xfce


Ignore:
Timestamp:
Mar 1, 2009, 12:40:53 AM (11 years ago)
Author:
jeremyhu@…
Message:

xfprint: Don't append -L${x11prefix}/lib unless we need to

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/xfce/xfprint/Portfile

    r41544 r47550  
    1919configure.args  --enable-cups
    2020
    21 configure.cppflags-append       -L${x11prefix}/lib
     21pre-configure {
     22    if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
     23        configure.cppflags-append -I${x11prefix}/include
     24        configure.ldflags-append  -L${x11prefix}/lib
     25    }
     26}
     27
    2228configure.ldflags-append        "-lXft -lfontconfig -lXrender -lXext -lXinerama -lXrandr"
    2329depends_lib     port:libxfcegui4 port:a2ps
Note: See TracChangeset for help on using the changeset viewer.