pkgsrc-WIP-changes archive

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

coreclr-git Stub for building mscorlib.dll on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Feb 14 18:12:12 2016 +0100
Changeset:	6f5d3d8d32c4da72439d7f0fc1f39542a3be953f

Modified Files:
	coreclr-git/Makefile
	coreclr-git/distinfo
Added Files:
	coreclr-git/patches/patch-build.sh

Log Message:
coreclr-git Stub for building mscorlib.dll on NetBSD

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

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

diffstat:
 coreclr-git/Makefile               |  1 +
 coreclr-git/distinfo               |  1 +
 coreclr-git/patches/patch-build.sh | 13 +++++++++++++
 3 files changed, 15 insertions(+)

diffs:
diff --git a/coreclr-git/Makefile b/coreclr-git/Makefile
index d262fd0..5eac8b0 100644
--- a/coreclr-git/Makefile
+++ b/coreclr-git/Makefile
@@ -30,6 +30,7 @@ do-build:
 	${RUN} cd ${WRKSRC} && \
 	${PKGSRC_SETENV} ${CONFIGURE_ENV} PYTHON=${PYTHONBIN:Q} ./build.sh cmakeargs ${CMAKE_ARGS:Q}
 
+.include "../../lang/mono/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"
 .include "../../wip/llvm-git/buildlink3.mk"
 .include "../../wip/lldb-git/buildlink3.mk"
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index f942391..f4175d4 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,6 +1,7 @@
 $NetBSD$
 
 SHA1 (patch-CMakeLists.txt) = 621111492c3199019a61a3a98aa98653c6a064b7
+SHA1 (patch-build.sh) = 7335e55a0e331e899a6efe884609c06ea845c9db
 SHA1 (patch-src_ToolBox_SOS_Strike_CMakeLists.txt) = 7180a842fdf944a42354f715e98360849def355d
 SHA1 (patch-src_dlls_dbgshim_CMakeLists.txt) = 324a00675b196a5385ab9c08bf3563ef94410b3e
 SHA1 (patch-src_dlls_mscordac_CMakeLists.txt) = b6cb6eccb95906cc937528aa665ec8838bf47408
diff --git a/coreclr-git/patches/patch-build.sh b/coreclr-git/patches/patch-build.sh
new file mode 100644
index 0000000..c10d3e6
--- /dev/null
+++ b/coreclr-git/patches/patch-build.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- build.sh.orig	2016-02-12 01:41:34.000000000 +0000
++++ build.sh
+@@ -204,7 +204,7 @@ isMSBuildOnNETCoreSupported()
+                     __isMSBuildOnNETCoreSupported=1
+                 fi 
+             fi
+-        elif [ "$__BuildOS" == "OSX" ]; then
++        elif [ "$__BuildOS" == "NetBSD" -o "$__BuildOS" == "OSX" ]; then
+             __isMSBuildOnNETCoreSupported=1
+         fi 
+     fi


Home | Main Index | Thread Index | Old Index