[71452] trunk/dports/games/PlasmaClient/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Sep 13 04:08:01 PDT 2010


Revision: 71452
          http://trac.macports.org/changeset/71452
Author:   ryandesign at macports.org
Date:     2010-09-13 04:08:00 -0700 (Mon, 13 Sep 2010)
Log Message:
-----------
PlasmaClient: add code from deluge Portfile to ensure boost is installed with the python26 variant

Modified Paths:
--------------
    trunk/dports/games/PlasmaClient/Portfile

Modified: trunk/dports/games/PlasmaClient/Portfile
===================================================================
--- trunk/dports/games/PlasmaClient/Portfile	2010-09-13 11:06:18 UTC (rev 71451)
+++ trunk/dports/games/PlasmaClient/Portfile	2010-09-13 11:08:00 UTC (rev 71452)
@@ -40,6 +40,22 @@
 # libhsplasma is not universal
 universal_variant           no
 
+if {![file exists ${prefix}/lib/libboost_python-mt.dylib]} {
+    depends_lib-delete port:boost
+    pre-configure {
+        ui_error "
+****
+**** Deluge requires port boost installed with variant +python26.
+**** Please do the following then try installing deluge again:
+****
+****     sudo port install boost +python26
+****
+
+"
+        return -code error "incompatible boost installation"
+    }
+}
+
 post-extract {
     copy ${filespath}/PlasmaClient.in ${workpath}/PlasmaClient
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100913/5bdb22c9/attachment.html>


More information about the macports-changes mailing list