diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-06 20:52:34 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-06 20:52:34 +0000 |
commit | a0c393049ba3f6d7ce496c9bd20d61b97e56ca4b (patch) | |
tree | 1a5aa01fabdc8b8f7517329c85da8fa8c8262950 /lang/mono5.10 | |
parent | 262c35a9e87fb319c9999554b3edceb0a9e83c36 (diff) | |
download | ports-a0c393049ba3f6d7ce496c9bd20d61b97e56ca4b.tar.gz ports-a0c393049ba3f6d7ce496c9bd20d61b97e56ca4b.zip |
lang/mono5.10: fix build on powerpc
Same as lang/mono.
Diffstat (limited to 'lang/mono5.10')
-rw-r--r-- | lang/mono5.10/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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} |