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

gv: Update the AC_X_PATH workaround

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/gv/Portfile

    r46265 r47544  
    5050
    5151# AC_X_PATH blindly asks xmkmf where X11 is, and it always uses /usr/X11R6.
    52 # These next three lines should cause AC_X_PATH to let us setup our CPPFLAGS
    53 # and LDFLAGS without interference
     52# This block helps us link correctly and setup our pc files correctly when we   
     53# are +system_x11 and x11prefix is somewhere non-standard and should cause
     54# AC_X_PATH to let us setup our CPPFLAGS and LDFLAGS without interference
    5455configure.args-append --x-include=${prefix}/include --x-lib=${prefix}/lib
    55 configure.cppflags-append -I${x11prefix}/include
    56 configure.ldflags-append  -L${x11prefix}/lib
     56if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
     57    pre-configure {
     58        configure.cppflags-append -I${x11prefix}/include
     59        configure.ldflags-append  -L${x11prefix}/lib
     60    }
     61}
     62
Note: See TracChangeset for help on using the changeset viewer.