[44948] trunk/dports/x11/xorg-libXdamage/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 4 18:58:28 PST 2009
Revision: 44948
http://trac.macports.org/changeset/44948
Author: jeremyhu at macports.org
Date: 2009-01-04 18:58:28 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
xorg-libXdamage: pkgconfig-fu for building on Tiger with system_x11 variant
Modified Paths:
--------------
trunk/dports/x11/xorg-libXdamage/Portfile
Modified: trunk/dports/x11/xorg-libXdamage/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXdamage/Portfile 2009-01-05 02:57:34 UTC (rev 44947)
+++ trunk/dports/x11/xorg-libXdamage/Portfile 2009-01-05 02:58:28 UTC (rev 44948)
@@ -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 \
+ XDAMAGE_CFLAGS="-I${prefix}/include -I${x11prefix}/include" \
+ XDAMAGE_LIBS="-L${prefix}/lib -L${x11prefix}/lib -lXfixes -lX11"
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/76d7bb15/attachment.html>
More information about the macports-changes
mailing list