Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2015 21:21:25 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383831 - head/databases/libgda5
Message-ID:  <201504112121.t3BLLPNk041718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504112121.t3BLLPNk041718>