[71451] trunk/dports/python/py26-mapnik/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 13 04:06:19 PDT 2010
Revision: 71451
http://trac.macports.org/changeset/71451
Author: ryandesign at macports.org
Date: 2010-09-13 04:06:18 -0700 (Mon, 13 Sep 2010)
Log Message:
-----------
py26-mapnik: copy code from deluge to ensure boost +python26 is installed; fixes #21789 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/python/py26-mapnik/Portfile
Modified: trunk/dports/python/py26-mapnik/Portfile
===================================================================
--- trunk/dports/python/py26-mapnik/Portfile 2010-09-13 11:04:50 UTC (rev 71450)
+++ trunk/dports/python/py26-mapnik/Portfile 2010-09-13 11:06:18 UTC (rev 71451)
@@ -86,6 +86,25 @@
use_parallel_build yes
+if { ![file exists ${prefix}/lib/libboost_python-mt.dylib] } {
+ depends_lib-delete port:boost
+}
+
+pre-configure {
+ if { ![file exists ${prefix}/lib/libboost_python-mt.dylib] } {
+ 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"
+ }
+}
+
configure.args PREFIX=${prefix} \
CAIRO=False \
OPTIMIZATION=3 \
@@ -121,7 +140,3 @@
destroot {
system "cd ${worksrcpath} && ${python} scons/scons.py install"
}
-
-notes "\
- This port requires boost +python26\
- "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100913/c1273730/attachment.html>
More information about the macports-changes
mailing list