svn commit: r383831 - head/databases/libgda5
Koop Mast
kwm at FreeBSD.org
Sat Apr 11 21:21:25 UTC 2015
Author: kwm
Date: Sat Apr 11 21:21:24 2015
New Revision: 383831
URL: https://svnweb.freebsd.org/changeset/ports/383831
Log:
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
Modified:
head/databases/libgda5/Makefile
Modified: head/databases/libgda5/Makefile
==============================================================================
--- head/databases/libgda5/Makefile Sat Apr 11 20:30:18 2015 (r383830)
+++ head/databases/libgda5/Makefile Sat Apr 11 21:21:24 2015 (r383831)
@@ -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' \
More information about the svn-ports-head
mailing list