aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-05-05 00:55:35 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-05-05 00:55:35 +0000
commit5556079054add1382973cfe7c9cb06f598f04201 (patch)
treeaa15d618173bff99238c5961c26b222a4789790c
parentcd8e694917d3c39e6e52daca283b597a8e1c6ff2 (diff)
downloadports-5556079054add1382973cfe7c9cb06f598f04201.tar.gz
ports-5556079054add1382973cfe7c9cb06f598f04201.zip
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.
-rw-r--r--databases/libgda5/Makefile2
1 files changed, 1 insertions, 1 deletions
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"