pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
corefx-git: Revamp Makefile for passing env and args to build.sh
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Mon Feb 8 11:46:56 2016 +0100
Changeset: 97627668b46e8567b05f51b234b932b692a9e055
Modified Files:
corefx-git/Makefile
Log Message:
corefx-git: Revamp Makefile for passing env and args to build.sh
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=97627668b46e8567b05f51b234b932b692a9e055
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
corefx-git/Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diffs:
diff --git a/corefx-git/Makefile b/corefx-git/Makefile
index b6d96fc..76d9b6b 100644
--- a/corefx-git/Makefile
+++ b/corefx-git/Makefile
@@ -12,14 +12,19 @@ HOMEPAGE= https://github.com/dotnet/corefx
COMMENT= The .NET Core foundational libraries
LICENSE= mit
-#USE_CMAKE= yes
+# We need to set CMake this way to get defined CMAKE_ARGS
+USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= bash
REPLACE_BASH+= build.sh
+do-configure:
+ ${RUN} ${ECHO} Skip configure and call CMake via build.sh
+
do-build:
- ${RUN} cd ${WRKSRC} && PYTHON=${PYTHONBIN} ./build.sh native verbose
+ ${RUN} cd ${WRKSRC} && \
+ ${PKGSRC_SETENV} ${CONFIGURE_ENV} CMAKE_ARGS_EXTRA=${CMAKE_ARGS:Q} ./build.sh native verbose
.include "../../textproc/icu/buildlink3.mk"
.include "../../wip/llvm-git/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index