[47545] trunk/dports/sysutils/wmcpuload/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Feb 28 16:25:33 PST 2009
Revision: 47545
http://trac.macports.org/changeset/47545
Author: jeremyhu at macports.org
Date: 2009-02-28 16:25:33 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
wmcpuload: Update the AC_X_PATH workaround
Modified Paths:
--------------
trunk/dports/sysutils/wmcpuload/Portfile
Modified: trunk/dports/sysutils/wmcpuload/Portfile
===================================================================
--- trunk/dports/sysutils/wmcpuload/Portfile 2009-03-01 00:24:26 UTC (rev 47544)
+++ trunk/dports/sysutils/wmcpuload/Portfile 2009-03-01 00:25:33 UTC (rev 47545)
@@ -25,13 +25,13 @@
port:xorg-libXext \
port:xpm
+# 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
-
-pre-configure {
- if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
- # AC_X_PATH blindly asks xmkmf where X11 is, and it always uses /usr/X11R6.
- # These next three lines should cause AC_X_PATH to let us setup our CPPFLAGS
- # and LDFLAGS without interference
+if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
+ pre-configure {
configure.cppflags-append -I${x11prefix}/include
configure.ldflags-append -L${x11prefix}/lib
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090228/1dfc58df/attachment.html>
More information about the macports-changes
mailing list