git: a0c393049ba3 - main - lang/mono5.10: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Oct 2021 21:07:19 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a0c393049ba3f6d7ce496c9bd20d61b97e56ca4b
commit a0c393049ba3f6d7ce496c9bd20d61b97e56ca4b
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-10-06 20:52:34 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-10-06 20:52:34 +0000
lang/mono5.10: fix build on powerpc
Same as lang/mono.
---
lang/mono5.10/Makefile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/lang/mono5.10/Makefile b/lang/mono5.10/Makefile
index 3dd66c7a518c..64843be38de4 100644
--- a/lang/mono5.10/Makefile
+++ b/lang/mono5.10/Makefile
@@ -47,7 +47,7 @@ USE_LDCONFIG= yes
SHEBANG_FILES= scripts/mono-heapviz mono/mini/genmdesc.py mono/tests/test_lldb.py
BINARY_ALIAS= python=${PYTHON_CMD}
-CONFIGURE_ARGS= --disable-dtrace --enable-btls
+CONFIGURE_ARGS= --disable-dtrace
CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no
MAKE_ENV= MONO_SHARED_DIR="${WRKDIR}" \
@@ -64,6 +64,15 @@ LOCALBASE?= /usr/local
OPTIONS_SLAVE= MONOLITE
.endif
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+PLIST+= ${.CURDIR}/pkg-plist.powerpc
+.else
+CONFIGURE_ARGS+= --enable-btls
+.endif
+
+
post-extract-MONOLITE-on:
${MKDIR} ${WRKSRC}/mcs/class/lib/monolite-linux
${MV} ${WRKDIR}/monolite-linux-${MONOLITE_VERSION}-latest ${WRKSRC}/mcs/class/lib/monolite-linux/${MONOLITE_VERSION}