Files
macports-ports/textproc/itstool/files/patch-configure.diff
David B. Evans efc0800fe9 itstool: update to version 2.0.6, default to +python27
Variant +python37 is included but should be considered experimental
as a few bugs still exist.
2019-07-04 19:25:50 -07:00

15 lines
345 B
Diff

--- configure.orig 2018-10-28 13:57:57.000000000 -0700
+++ configure 2019-01-11 13:10:27.000000000 -0800
@@ -2466,9 +2466,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);'`