[44929] trunk/dports/x11/xorg-libXfixes/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 4 13:17:47 PST 2009
Revision: 44929
http://trac.macports.org/changeset/44929
Author: jeremyhu at macports.org
Date: 2009-01-04 13:17:46 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
xorg-libXfixes: pkgconfig-fu for building xorg-libXfixes on Tiger with system_x11 variant
Modified Paths:
--------------
trunk/dports/x11/xorg-libXfixes/Portfile
Modified: trunk/dports/x11/xorg-libXfixes/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXfixes/Portfile 2009-01-04 21:12:56 UTC (rev 44928)
+++ trunk/dports/x11/xorg-libXfixes/Portfile 2009-01-04 21:17:46 UTC (rev 44929)
@@ -41,5 +41,11 @@
system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
}
use_configure no
+ } else {
+ if {${os.major} < 9 && ![file exists ${prefix}/lib/pkgconfig/x11.pc]} {
+ configure.env-append \
+ X_CFLAGS="-I${prefix}/include -I${x11prefix}/include" \
+ X_LIBS="-L${prefix}/lib -L${x11prefix}/lib -lX11"
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/0673a36b/attachment.html>
More information about the macports-changes
mailing list