Changeset 47551 for trunk/dports/xfce


Ignore:
Timestamp:
Mar 1, 2009, 12:41:39 AM (12 years ago)
Author:
jeremyhu@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/xfce/xfce-utils/Portfile

    r41544 r47551  
    2020
    2121configure.args  --disable-gdm
    22 configure.ldflags-append        "-L${x11prefix}/lib -lXft -lfontconfig -lXrender -lXext -lXinerama -lXrandr"
     22
     23pre-configure {
     24    if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
     25        configure.cppflags-append -I${x11prefix}/include
     26        configure.ldflags-append "-L${x11prefix}/lib -lXft -lfontconfig -lXrender -lXext -lXinerama -lXrandr"
     27    }
     28}
    2329
    2430variant gtkhtml {
Note: See TracChangeset for help on using the changeset viewer.