git: 5556079054ad - main - databases/libgda5-jdbc: fix build on powerpc64le

Piotr Kubaj pkubaj at FreeBSD.org
Wed May 5 00:55:35 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5556079054add1382973cfe7c9cb06f598f04201

commit 5556079054add1382973cfe7c9cb06f598f04201
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-05-05 00:55:35 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-05-05 00:55:35 +0000

    databases/libgda5-jdbc: fix build on powerpc64le
    
    checking whether JNI programs can be compiled... configure: error: Cannot compile a simple JNI program. See config.log for details.
---
 databases/libgda5/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile
index 3d1144d60645..0b49fa293b14 100644
--- a/databases/libgda5/Makefile
+++ b/databases/libgda5/Makefile
@@ -111,7 +111,7 @@ post-patch:
 		${WRKSRC}/providers/bdb/gda-bdb-provider.c \
 		${WRKSRC}/providers/bdb/gda-bdb-test.c
 .if ${LIBGDA5_SLAVE} == jdbc
-	@${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH}|g' \
+	@${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH:S/powerpc64le/ppc64le/}|g' \
 		${WRKSRC}/getsp.java
 .endif
 .if ${LIBGDA5_SLAVE}!="no"


More information about the dev-commits-ports-all mailing list