pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mono-git: Run ./configure
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Apr 17 00:07:38 2016 +0200
Changeset: efd92f8c4a0040edc79afb37fad99d8ce7647381
Modified Files:
mono-git/Makefile
mono-git/distinfo
Added Files:
mono-git/patches/patch-configure.ac
Log Message:
mono-git: Run ./configure
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=efd92f8c4a0040edc79afb37fad99d8ce7647381
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mono-git/Makefile | 6 ++++-
mono-git/distinfo | 1 +
mono-git/patches/patch-configure.ac | 45 +++++++++++++++++++++++++++++++++++++
3 files changed, 51 insertions(+), 1 deletion(-)
diffs:
diff --git a/mono-git/Makefile b/mono-git/Makefile
index be7d132..bcb7c6e 100644
--- a/mono-git/Makefile
+++ b/mono-git/Makefile
@@ -17,7 +17,7 @@ CONFLICTS= pnet-[0-9]* mcsim-[0-9]* lc-[0-9]*
ALL_ENV+= MONO_SHARED_DIR=${WRKDIR:Q} PLATFORM=
WRKSRC= ${WRKDIR}/mono
-USE_TOOLS+= bash:run bison gmake gtar msgfmt perl:run pkg-config
+USE_TOOLS+= bash:run bison gmake gtar msgfmt perl:run pkg-config autoconf automake autoreconf
USE_LIBTOOL= yes
USE_LANGUAGES+= c c99 c++
EXTRACT_USING= gtar
@@ -63,6 +63,7 @@ REPLACE_BASH+= mcs/class/Mono.Cairo/Samples/win32/compile.sh
REPLACE_BASH+= mcs/class/Mono.Cairo/Samples/x11/compile.sh
REPLACE_BASH+= mcs/tools/tinderbox/tinderbox.sh libgc/mkinstalldirs
REPLACE_BASH+= mcs/mkinstalldirs mkinstalldirs
+REPLACE_BASH+= autogen.sh
EGDIR= ${PREFIX}/share/examples/mono
CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/mono/config
@@ -161,6 +162,9 @@ GNU_ARCH.i386= i586
CFLAGS+= -march=i586
.endif
+pre-configure:
+ ${RUN} cd ${WRKSRC} && ./autogen.sh
+
post-install:
${INSTALL_DATA} ${WRKSRC}/data/net_4_5/DefaultWsdlHelpGenerator.aspx \
${DESTDIR}${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx
diff --git a/mono-git/distinfo b/mono-git/distinfo
index 372a2e6..a91cd49 100644
--- a/mono-git/distinfo
+++ b/mono-git/distinfo
@@ -4,6 +4,7 @@ SHA1 (mono-4.4.0.122.tar.bz2) = 132a8e9aa422e82ccdb776c7cc1db89ce140b0b3
RMD160 (mono-4.4.0.122.tar.bz2) = 41d58720d7cb4f510cad64c1dbecdd9a6c9d19a1
SHA512 (mono-4.4.0.122.tar.bz2) = 264b3779fc94e40c44f8cc637169d7f3a6367ead75b932069bc0498d53c13ea62ef5711784d1bc0767b85e0cb04424b9eee0ce7ed10772076902b55210097a10
Size (mono-4.4.0.122.tar.bz2) = 84904723 bytes
+SHA1 (patch-configure.ac) = 870369eb07ee14a891506581c23dafe6eab0cd6d
SHA1 (patch-mono_tests_verifier_make__access__test.sh) = d8808eafe0dbc94f6b4cee7fb8c97c3394142c33
SHA1 (patch-mono_tests_verifier_make__bad__op__test.sh) = 6cf7567d442ab1a549214d12b4dacf37c2528871
SHA1 (patch-mono_tests_verifier_make__bin__test.sh) = a5abd47ebb25c41ff4a4b8d15c70bf7cad81e52a
diff --git a/mono-git/patches/patch-configure.ac b/mono-git/patches/patch-configure.ac
new file mode 100644
index 0000000..6cca6b5
--- /dev/null
+++ b/mono-git/patches/patch-configure.ac
@@ -0,0 +1,45 @@
+$NetBSD$
+
+--- configure.ac.orig 2016-04-16 14:26:42.000000000 +0000
++++ configure.ac
+@@ -92,11 +92,11 @@ case "$host" in
+ host_win32=yes
+ mono_cv_clang=no
+ if test "x$cross_compiling" = "xno"; then
+- if test "x$host" == "x$build" -a "x$host" == "x$target"; then
++ if test "x$host" = "x$build" -a "x$host" = "x$target"; then
+ target_win32=yes
+ fi
+ else
+- if test "x$host" == "x$target"; then
++ if test "x$host" = "x$target"; then
+ target_win32=yes
+ fi
+ fi
+@@ -2451,7 +2451,7 @@ fi
+ AC_ARG_ENABLE(bcl-opt, [ --disable-bcl-opt BCL is compiled with no optimizations (allows accurate BCL debugging)], test_bcl_opt=$enableval, test_bcl_opt=yes)
+
+ AC_ARG_ENABLE(perf-events, [ --enable-perf-events Enable using `perf` for profiling on Linux], test_perf_events=$enableval, test_perf_events=no)
+-if test "x$test_perf_events" == "xyes"; then
++if test "x$test_perf_events" = "xyes"; then
+ AC_DEFINE(ENABLE_PERF_EVENTS, 1, [Enable using `perf` for profiling on Linux])
+ AC_SUBST(ENABLE_PERF_EVENTS)
+ fi
+@@ -2613,7 +2613,7 @@ if test "x$enable_llvm" = "xyes"; then
+ AC_MSG_CHECKING(LLVM version)
+ AC_MSG_RESULT($llvm_version $llvm_api_version)
+ if echo $llvm_version | grep -q 'mono'; then
+- if test "x$enable_llvm_version_check" == "xyes"; then
++ if test "x$enable_llvm_version_check" = "xyes"; then
+ if test "$llvm_version" != "$expected_llvm_version"; then
+ AC_MSG_ERROR([Expected llvm version $expected_llvm_version, but llvm-config --version returned $llvm_version"])
+ fi
+@@ -2648,7 +2648,7 @@ if test "x$enable_llvm" = "xyes"; then
+ llvm_jit_libs=""
+ fi
+ LLVM_LIBS=`$LLVM_CONFIG --libs analysis core bitwriter $llvm_jit_libs`
+- if test "x$LLVM_LIBS" == "x"; then
++ if test "x$LLVM_LIBS" = "x"; then
+ echo "$LLVM_CONFIG --libs failed."
+ exit 1
+ fi
Home |
Main Index |
Thread Index |
Old Index