[109300] trunk/dports/python/py-graph-tool/Portfile
mmoll at macports.org
mmoll at macports.org
Mon Aug 12 09:47:45 PDT 2013
Revision: 109300
https://trac.macports.org/changeset/109300
Author: mmoll at macports.org
Date: 2013-08-12 09:47:45 -0700 (Mon, 12 Aug 2013)
Log Message:
-----------
py-graph-tool: work around incorrect detection of python link flags. closes #40072
Modified Paths:
--------------
trunk/dports/python/py-graph-tool/Portfile
Modified: trunk/dports/python/py-graph-tool/Portfile
===================================================================
--- trunk/dports/python/py-graph-tool/Portfile 2013-08-12 16:10:28 UTC (rev 109299)
+++ trunk/dports/python/py-graph-tool/Portfile 2013-08-12 16:47:45 UTC (rev 109300)
@@ -46,10 +46,12 @@
# graph-tool relies on Boost.Python, so make sure it is installed.
require_active_variants boost python${python.version}
+ # PYTHON_EXTRA_LDFLAGS is set to work around incorrect detection of
+ # link flags by configure
configure.env-append PYTHON=${python.bin} \
PYTHON_VERSION=${python.branch} \
PYTHON_CPPFLAGS=-I${python.include} \
- PYTHON_LDFLAGS="-L${python.libdir}/.. -lpython${python.branch}"
+ PYTHON_EXTRA_LDFLAGS="-L${python.libdir}/.. -lpython${python.branch}"
configure.cppflags-append -I${prefix}/include -I${python.include}/..
configure.ldflags-append -L${prefix}/lib
configure.args-append --with-boost=${prefix} --exec-prefix=${python.prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130812/94a90bdc/attachment.html>
More information about the macports-changes
mailing list