aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-12-08 21:25:49 +0800
committermva <mva@FreeBSD.org>2013-12-08 21:25:49 +0800
commit703e349b23030552665ddbfa9b456d8f0c345f38 (patch)
tree2c2e4369c1fc63fd6f823f5be3712e8c61bed9cd /devel
parentbb9f66da1b3fbbe508e3ed3064b8dc794e05be17 (diff)
downloadfreebsd-ports-gnome-703e349b23030552665ddbfa9b456d8f0c345f38.tar.gz
freebsd-ports-gnome-703e349b23030552665ddbfa9b456d8f0c345f38.tar.zst
freebsd-ports-gnome-703e349b23030552665ddbfa9b456d8f0c345f38.zip
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency Approved by: portmgr (blanket)
Diffstat (limited to 'devel')
-rw-r--r--devel/llvm/Makefile14
-rw-r--r--devel/llvm31/Makefile15
-rw-r--r--devel/llvm32/Makefile14
3 files changed, 38 insertions, 5 deletions
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile
index ec0fb79320b0..9c53ca89b238 100644
--- a/devel/llvm/Makefile
+++ b/devel/llvm/Makefile
@@ -25,9 +25,19 @@ DEPRECATED= Migrate to devel/llvm32 or newer
EXPIRATION_DATE= 2013-11-04
GNU_CONFIGURE= yes
-USES= gmake perl5
+USES= gmake perl5 shebangfix
USE_LDCONFIG= yes
-USE_PYTHON_BUILD= yes
+USE_PYTHON_BUILD= 2
+
+python_OLD_CMD= /usr/bin/env python
+python_CMD= /usr/bin/env python2
+SHEBANG_FILES= test/Scripts/coff-dump.py test/Scripts/elf-dump \
+ test/Scripts/macho-dumpx lib/Target/NVPTX/gen-register-defs.py \
+ utils/clang-parse-diagnostics-file utils/release/findRegressions-nightly.py \
+ utils/release/findRegressions-simple.py utils/Misc/zkill \
+ utils/llvm-lit/llvm-lit.in utils/Target/ARM/analyze-match-table.py \
+ utils/llvm-build/llvm-build utils/lit/lit.py utils/lit/lit/ProgressBar.py \
+ utils/lit/lit/main.py
# Suggested tweaks from http://llvm.org/docs/Packaging.html
CONFIGURE_ARGS+= --enable-shared
diff --git a/devel/llvm31/Makefile b/devel/llvm31/Makefile
index 758dc92881ad..9f058fc5ccca 100644
--- a/devel/llvm31/Makefile
+++ b/devel/llvm31/Makefile
@@ -21,10 +21,21 @@ BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
CONFLICTS= llvm-[3]* llvm-devel-[23]* llvm29-*
-USES= gmake perl5
+USES= gmake perl5 shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_PYTHON_BUILD= yes
+USE_PYTHON_BUILD= 2
+
+python_OLD_CMD= /usr/bin/env python
+python_CMD= /usr/bin/env python2
+SHEBANG_FILES= test/Scripts/coff-dump.py test/Scripts/elf-dump \
+ test/Scripts/macho-dumpx utils/clang-parse-diagnostics-file \
+ utils/lit/lit/main.py utils/lit/lit/ProgressBar.py \
+ utils/lit/lit.py utils/llvm-build/llvm-build \
+ utils/llvm-lit/llvm-lit.in utils/Misc/zkill \
+ utils/release/findRegressions-nightly.py \
+ utils/release/findRegressions-simple.py \
+ utils/Target/ARM/analyze-match-table.py
# Suggested tweaks from http://llvm.org/docs/Packaging.html
CONFIGURE_ARGS+= --enable-shared
diff --git a/devel/llvm32/Makefile b/devel/llvm32/Makefile
index 6aecad38fcc6..c22c532c2fef 100644
--- a/devel/llvm32/Makefile
+++ b/devel/llvm32/Makefile
@@ -19,11 +19,23 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX}
-USES= gmake perl5
+USES= gmake perl5 shebangfix
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX}
USE_LDCONFIG= ${LLVM_PREFIX}/lib
+python_OLD_CMD= /usr/bin/env python
+python_CMD= /usr/bin/env python2
+SHEBANG_FILES= test/Scripts/coff-dump.py test/Scripts/elf-dump \
+ test/Scripts/macho-dumpx lib/Target/NVPTX/gen-register-defs.py \
+ utils/clang-parse-diagnostics-file \
+ utils/release/findRegressions-nightly.py \
+ utils/release/findRegressions-simple.py \
+ utils/Misc/zkill utils/llvm-lit/llvm-lit.in \
+ utils/Target/ARM/analyze-match-table.py \
+ utils/llvm-build/llvm-build utils/lit/lit.py \
+ utils/lit/lit/ProgressBar.py utils/lit/lit/main.py
+
SUB_FILES= llvm-wrapper.sh
SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}"