[44655] trunk/dports/net/deluge/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Jan 1 14:06:44 PST 2009


Revision: 44655
          http://trac.macports.org/changeset/44655
Author:   jeremyhu at macports.org
Date:     2009-01-01 14:06:44 -0800 (Thu, 01 Jan 2009)
Log Message:
-----------
deluge: Make sure boost is built with a python variant or we fail

Modified Paths:
--------------
    trunk/dports/net/deluge/Portfile

Modified: trunk/dports/net/deluge/Portfile
===================================================================
--- trunk/dports/net/deluge/Portfile	2009-01-01 22:00:00 UTC (rev 44654)
+++ trunk/dports/net/deluge/Portfile	2009-01-01 22:06:44 UTC (rev 44655)
@@ -39,3 +39,10 @@
 	PYTHON_LDFLAGS=-L${prefix}/lib \
 	CFLAGS="-I${prefix}/include -I${prefix}/include/boost" \
 	PREFIX=${prefix}
+
+pre-configure {
+	if { ![file exists ${prefix}/lib/${prefix}/lib/libboost_python-mt.dylib] } {
+		ui_error "You must build boost with a python variant (+python24 +python25 or +python26)"
+		error "You must build boost with a python variant (+python24 +python25 or +python26)"
+	}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090101/57ab8642/attachment.html>


More information about the macports-changes mailing list