diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile index 0b49fa293b14..b9283bcbea8c 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:S/powerpc64le/ppc64le/}|g' \ + @${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH:C/powerpc64.*/ppc64/}|g' \ ${WRKSRC}/getsp.java .endif .if ${LIBGDA5_SLAVE}!="no"