aboutsummaryrefslogtreecommitdiff
path: root/databases/libgda5
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-04-11 21:21:24 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-04-11 21:21:24 +0000
commit88c274d94258fe26c136270049f6ff5a40f5abf9 (patch)
treed0e93016c9a8b24518398d333e163d973b8c5a42 /databases/libgda5
parentf008e368c978ddfa0cda6e5a5fc47c4177f946c5 (diff)
downloadports-88c274d94258fe26c136270049f6ff5a40f5abf9.tar.gz
ports-88c274d94258fe26c136270049f6ff5a40f5abf9.zip
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
Notes
Notes: svn path=/head/; revision=383831
Diffstat (limited to 'databases/libgda5')
-rw-r--r--databases/libgda5/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile
index da148ab40947..54c5b6bd3347 100644
--- a/databases/libgda5/Makefile
+++ b/databases/libgda5/Makefile
@@ -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' \