svn commit: r553684 - head/devel/jna
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Oct 30 11:33:49 UTC 2020
Author: pkubaj
Date: Fri Oct 30 11:33:48 2020
New Revision: 553684
URL: https://svnweb.freebsd.org/changeset/ports/553684
Log:
devel/jna: fix build on powerpc64 elfv2
Use GCC:
[exec] /wrkdirs/usr/ports/devel/jna/work/jna-5.5.0/native/libffi/src/powerpc/linux64.S:215:2: error: changed section flags for .eh_frame, expected: 0x2
Modified:
head/devel/jna/Makefile
Modified: head/devel/jna/Makefile
==============================================================================
--- head/devel/jna/Makefile Fri Oct 30 11:32:33 2020 (r553683)
+++ head/devel/jna/Makefile Fri Oct 30 11:33:48 2020 (r553684)
@@ -38,6 +38,12 @@ OPTIONS_DEFINE= DOCS
ANT_ARCH= ${ARCH:S/amd64/x86-64/:S/i386/x86/:C/powerpc64.*/ppc64/}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+USE_GCC= any
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/native/Makefile
More information about the svn-ports-all
mailing list