[45218] trunk/dports/x11/mesa/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 11 02:38:02 PST 2009
Revision: 45218
http://trac.macports.org/changeset/45218
Author: jeremyhu at macports.org
Date: 2009-01-11 02:38:01 -0800 (Sun, 11 Jan 2009)
Log Message:
-----------
mesa: Only do the post-extract if we are actually installing something (fix for +system_x11). See #17956
Modified Paths:
--------------
trunk/dports/x11/mesa/Portfile
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2009-01-11 10:36:36 UTC (rev 45217)
+++ trunk/dports/x11/mesa/Portfile 2009-01-11 10:38:01 UTC (rev 45218)
@@ -36,7 +36,9 @@
use_configure no
post-extract {
- ln -s darwin ${worksrcpath}/configs/current
+ if {[file exists "${worksrcpath}/configs/current"]} {
+ ln -s darwin ${worksrcpath}/configs/current
+ }
}
build.target default
@@ -53,8 +55,10 @@
variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
if { [file exists ${x11prefix}/lib/libGLU.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
+ distfiles
fetch { }
checksum { }
+ patch { }
build { }
destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090111/9299583d/attachment-0001.html>
More information about the macports-changes
mailing list