1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Fix "amd64" hardcode in java library path lookup and regen the

.class file which configure uses to figure out java setting.

In theory this should fix other archs too if java ever gets ported.

Annoyed by:	pkg-fallout mails
This commit is contained in:
Koop Mast 2015-04-11 21:21:24 +00:00
parent f008e368c9
commit 88c274d942
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383831

View File

@ -107,6 +107,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|<db\.h>|<db${BDB_VER}/db.h>|' \
${WRKSRC}/providers/bdb/gda-bdb-provider.c \
${WRKSRC}/providers/bdb/gda-bdb-test.c
@${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH}|g' \
${WRKSRC}/getsp.java
@cd ${WRKSRC} && ${LOCALBASE}/bin/javac getsp.java
.if ${LIBGDA5_SLAVE}!="no"
@${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \
-e 's|$$(top_builddir)/libgda/libgda-5.0.la|-lgda-5.0|g' \