Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2021 00:55:34 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5556079054ad - main - databases/libgda5-jdbc: fix build on powerpc64le
Message-ID:  <202105050055.1450tYXb027971@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit 5556079054add1382973cfe7c9cb06f598f04201
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-05-05 00:55:35 +0000
Commit:     Piotr Kubaj <pkubaj@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105050055.1450tYXb027971>