aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/clang-devel/Makefile5
-rw-r--r--lang/clang33/Makefile8
-rw-r--r--lang/clang34/Makefile8
-rw-r--r--lang/clang35/Makefile8
-rw-r--r--lang/clang36/Makefile8
5 files changed, 23 insertions, 14 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 03d8601346cf..4673bb9557d9 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -140,10 +140,11 @@ pre-build:
${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${MAKE_CMD}
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/utils/unittest
post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} man html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile
index b074033cd354..37f75815ca36 100644
--- a/lang/clang33/Makefile
+++ b/lang/clang33/Makefile
@@ -126,11 +126,13 @@ pre-build:
${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${MAKE_CMD}
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/utils/unittest
post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} man
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so
diff --git a/lang/clang34/Makefile b/lang/clang34/Makefile
index 0ca410af3249..14f0fb084636 100644
--- a/lang/clang34/Makefile
+++ b/lang/clang34/Makefile
@@ -123,11 +123,13 @@ pre-build:
${LN} -sf ${LLVM_PREFIX}/lib/${LIBNAME} ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${MAKE_CMD}
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/utils/unittest
post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} man
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so
diff --git a/lang/clang35/Makefile b/lang/clang35/Makefile
index 1e7303e88ac4..db065f1fc099 100644
--- a/lang/clang35/Makefile
+++ b/lang/clang35/Makefile
@@ -122,11 +122,13 @@ pre-build:
${LN} -sf ${LLVM_PREFIX}/lib/${LIBNAME} ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${MAKE_CMD}
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/utils/unittest
post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} man
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so
diff --git a/lang/clang36/Makefile b/lang/clang36/Makefile
index a0a9f0d12071..6936fa171206 100644
--- a/lang/clang36/Makefile
+++ b/lang/clang36/Makefile
@@ -125,11 +125,13 @@ pre-build:
${LN} -sf ${LLVM_PREFIX}/lib/${LIBNAME} ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
${LN} -sf ${LLVM_PREFIX}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${MAKE_CMD}
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/utils/unittest
post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} man
- @cd ${WRKSRC}/tools/clang/docs/tools && ${MAKE_CMD} html ps
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools man
+ ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} -C ${WRKSRC}/tools/clang/docs/tools html ps
post-install:
${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so