[117448] trunk/dports/textproc/itstool
devans at macports.org
devans at macports.org
Wed Feb 26 11:18:48 PST 2014
Revision: 117448
https://trac.macports.org/changeset/117448
Author: devans at macports.org
Date: 2014-02-26 11:18:48 -0800 (Wed, 26 Feb 2014)
Log Message:
-----------
itstool: in configure, fix reporting of python installation paths although they appear not to be used directly, increase verbosity during check for dependent py-libxml2.
Modified Paths:
--------------
trunk/dports/textproc/itstool/Portfile
trunk/dports/textproc/itstool/files/patch-configure.diff
Modified: trunk/dports/textproc/itstool/Portfile
===================================================================
--- trunk/dports/textproc/itstool/Portfile 2014-02-26 19:17:58 UTC (rev 117447)
+++ trunk/dports/textproc/itstool/Portfile 2014-02-26 19:18:48 UTC (rev 117448)
@@ -5,6 +5,7 @@
name itstool
version 2.0.2
+revision 1
license GPL-3+
set branch [join [lrange [split ${version} .] 0 1] .]
Modified: trunk/dports/textproc/itstool/files/patch-configure.diff
===================================================================
--- trunk/dports/textproc/itstool/files/patch-configure.diff 2014-02-26 19:17:58 UTC (rev 117447)
+++ trunk/dports/textproc/itstool/files/patch-configure.diff 2014-02-26 19:18:48 UTC (rev 117448)
@@ -1,10 +1,24 @@
---- configure.orig 2013-12-17 19:16:50.000000000 -0800
-+++ configure 2013-12-18 11:03:09.000000000 -0800
-@@ -2419,7 +2419,7 @@
+--- configure.orig 2014-02-26 10:38:45.000000000 -0800
++++ configure 2014-02-26 10:38:53.000000000 -0800
+@@ -2315,9 +2315,9 @@
+
+
+
+- PYTHON_PREFIX='${prefix}'
++ PYTHON_PREFIX=`$PYTHON -c 'import sys; print(sys.prefix);'`
+
+- PYTHON_EXEC_PREFIX='${exec_prefix}'
++ PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print(sys.exec_prefix);'`
+
+
+
+@@ -2418,8 +2418,8 @@
+
py_module=libxml2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module $py_module" >&5
- $as_echo_n "checking for python module $py_module... " >&6; }
+-$as_echo_n "checking for python module $py_module... " >&6; }
-echo "import $py_module" | python - &>/dev/null
++$as_echo_n "checking for python module $py_module using $PYTHON... " >&6; }
+echo "import $py_module" | $PYTHON - &>/dev/null
if test $? -ne 0; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140226/4e46e958/attachment.html>
More information about the macports-changes
mailing list