[44932] trunk/dports/x11/xorg-libXevie/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 4 13:27:16 PST 2009
Revision: 44932
http://trac.macports.org/changeset/44932
Author: jeremyhu at macports.org
Date: 2009-01-04 13:27:16 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
xorg-libXevie: pkgconfig-fu to build libXcomposite on Tiger with system_x11 variant
Modified Paths:
--------------
trunk/dports/x11/xorg-libXevie/Portfile
Modified: trunk/dports/x11/xorg-libXevie/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXevie/Portfile 2009-01-04 21:25:04 UTC (rev 44931)
+++ trunk/dports/x11/xorg-libXevie/Portfile 2009-01-04 21:27:16 UTC (rev 44932)
@@ -22,8 +22,11 @@
depends_build port:pkgconfig \
port:xorg-xproto \
+ port:xorg-xextproto \
port:xorg-evieproto
+depends_lib port:xorg-libXext
+
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXevie-(\\d+(?:\\.\\d+)*)
@@ -39,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 \
+ XEVIE_CFLAGS="-I${prefix}/include -I${x11prefix}/include" \
+ XEVIE_LIBS="-L${prefix}/lib -L${x11prefix}/lib -lXext -lX11"
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/370932e0/attachment.html>
More information about the macports-changes
mailing list