pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

coreclr-git: Handle python usage in build.sh



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jan 19 00:52:17 2016 +0100
Changeset:	6b2263a2764c17a3a14bcbac0dea956dbd209494

Modified Files:
	coreclr-git/Makefile

Log Message:
coreclr-git: Handle python usage in build.sh

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b2263a2764c17a3a14bcbac0dea956dbd209494

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 coreclr-git/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/coreclr-git/Makefile b/coreclr-git/Makefile
index 54391ee..70b5398 100644
--- a/coreclr-git/Makefile
+++ b/coreclr-git/Makefile
@@ -13,14 +13,19 @@ COMMENT=	The .NET Core runtime and the base library
 LICENSE=	mit
 
 #USE_CMAKE=	yes
-#USE_LANGUAGES=	c c++
+USE_LANGUAGES=	c c++
 
 USE_TOOLS+=	bash
 REPLACE_BASH+=	build.sh
 
+SUBST_CLASSES+=		python
+SUBST_STAGE.python=	pre-configure
+SUBST_FILES.python=	build.sh
+SUBST_SED.python=	-e 's,python ,${PYTHONBIN} ,'
+
 do-build:
 		${RUN} cd ${WRKSRC} && ./build.sh
 
-
+.include "../../lang/python/application.mk"
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index