[44931] trunk/dports/x11/xorg-libXcomposite/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 4 13:25:04 PST 2009
Revision: 44931
http://trac.macports.org/changeset/44931
Author: jeremyhu at macports.org
Date: 2009-01-04 13:25:04 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
xorg-libXcomposite: pkgconfig-fu to build libXcomposite on Tiger with system_x11 variant
Modified Paths:
--------------
trunk/dports/x11/xorg-libXcomposite/Portfile
Modified: trunk/dports/x11/xorg-libXcomposite/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXcomposite/Portfile 2009-01-04 21:21:36 UTC (rev 44930)
+++ trunk/dports/x11/xorg-libXcomposite/Portfile 2009-01-04 21:25:04 UTC (rev 44931)
@@ -42,5 +42,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 \
+ XCOMPOSITE_CFLAGS="-I${prefix}/include -I${x11prefix}/include" \
+ XCOMPOSITE_LIBS="-L${prefix}/lib -L${x11prefix}/lib -lXext -lXfixes -lX11"
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/cd73abcb/attachment.html>
More information about the macports-changes
mailing list