Changeset 47554 for trunk/dports/x11/xfe


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xfe/Portfile

    r40390 r47554  
    2525
    2626configure.args          --with-included-gettext --enable-release
    27 configure.cppflags-append       -I${prefix}/include/freetype2
    28 configure.ldflags-append        -L${x11prefix}/lib
     27
     28pre-configure {
     29    if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
     30        configure.cppflags-append -I${x11prefix}/include
     31        configure.ldflags-append  -L${x11prefix}/lib
     32    }
     33}
     34
    2935configure.env           LIBS="-lX11 -lXft"
    3036post-configure          {
Note: See TracChangeset for help on using the changeset viewer.