[71439] trunk/dports/x11/mesa/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 12 22:35:15 PDT 2010


Revision: 71439
          http://trac.macports.org/changeset/71439
Author:   jeremyhu at macports.org
Date:     2010-09-12 22:35:14 -0700 (Sun, 12 Sep 2010)
Log Message:
-----------
mesa: Add a check and workaround for #25677

Modified Paths:
--------------
    trunk/dports/x11/mesa/Portfile

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2010-09-13 05:33:56 UTC (rev 71438)
+++ trunk/dports/x11/mesa/Portfile	2010-09-13 05:35:14 UTC (rev 71439)
@@ -106,6 +106,14 @@
 	reinplace "s:LINK=\"cc\":LINK=\"${configure.cc}\":"    ${worksrcpath}/bin/mklib
 }
 
+pre-configure {
+	if { ![file exists /usr/lib/libXplugin.dylib] } {
+		ui_error "Detected a problem with your development environment.  Please work around it by executing:"
+		ui_error "sudo ln -s libXplugin.1.dylib /usr/lib/libXplugin.dylib"
+		return -code error "missing libXplugin.dylib"
+	}
+}
+
 post-destroot {
 	# http://trac.macports.org/ticket/24337
 	# http://trac.macports.org/ticket/24349
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100912/3ad79914/attachment.html>


More information about the macports-changes mailing list