#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): wonder if it is related to the huge chunk of boilerplate jeremyhu added to the other ports... {{{ # AC_X_PATH blindly asks xmkmf where X11 is, and it always uses /usr/X11R6. # This block helps us link correctly and setup our pc files correctly when we # are +system_x11 and x11prefix is somewhere non-standard and should cause # AC_X_PATH to let us setup our CPPFLAGS and LDFLAGS without interference configure.args-append --x-include=${prefix}/include --x-lib=${prefix}/lib if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } { pre-configure { configure.cppflags-append -I${x11prefix}/include configure.ldflags-append -L${x11prefix}/lib } # And this will similarly get ports that use pkgconfig to find our pkgconfig-less libX11 post-destroot { if {![file exists ${x11prefix}/lib/pkgconfig/x11.pc]} { foreach pc [glob ${destroot}${prefix}/lib/pkgconfig/*.pc] { reinplace "s:-lX11:-L${prefix}/lib -L${x11prefix}/lib -lX11:g" ${pc} } } } } }}} I'm using +system_x11 myself, so wouldn't notice any /usr/X11R6 bias (versus ${prefix}). -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS