diff options
author | lioux <lioux@FreeBSD.org> | 2011-07-25 04:16:38 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2011-07-25 04:16:38 +0800 |
commit | b6a1ac0f0fca9be5e56768400bf3c9449a01bc84 (patch) | |
tree | b10d1ec12b0a07962299304ffb777a381bf5231c /math | |
parent | 3954b580a8005c7f88192a8acb8dab82f26f322a (diff) | |
download | freebsd-ports-gnome-b6a1ac0f0fca9be5e56768400bf3c9449a01bc84.tar.gz freebsd-ports-gnome-b6a1ac0f0fca9be5e56768400bf3c9449a01bc84.tar.zst freebsd-ports-gnome-b6a1ac0f0fca9be5e56768400bf3c9449a01bc84.zip |
o Update to 0.8.7
o Fix BROKEN on amd64 arch: build a dynamic JNI library depending
on port math/gmp
Diffstat (limited to 'math')
-rw-r--r-- | math/libjbigi/Makefile | 13 | ||||
-rw-r--r-- | math/libjbigi/distinfo | 4 |
2 files changed, 6 insertions, 11 deletions
diff --git a/math/libjbigi/Makefile b/math/libjbigi/Makefile index b7c7351556dc..87a4d4bebec4 100644 --- a/math/libjbigi/Makefile +++ b/math/libjbigi/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libjbigi -PORTVERSION= 0.7.2 -PORTREVISION= 2 +PORTVERSION= 0.8.7 CATEGORIES= math java MASTER_SITES= http://mirror.i2p2.de/ \ ${MASTER_SITE_GOOGLE_CODE} @@ -16,7 +15,7 @@ DISTNAME= i2psource_${PORTVERSION} MAINTAINER= lioux@FreeBSD.org COMMENT= i2p JNI to GNU MP Bignum library (libgmp) -BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a:${PORTSDIR}/math/gmp +LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp USE_BZIP2= yes USE_JAVA= yes @@ -32,7 +31,7 @@ PLIST_FILES= %%JAVAJARDIR%%/jbigi.jar JBIGI_BUILD_ENV= \ CC="${CC}" \ CFLAGS="${CFLAGS} -fPIC -DPIC" \ - LDFLAGS="${LDFLAGS} -static" \ + LDFLAGS="${LDFLAGS}" \ JAVA_HOME="${JAVA_HOME}" \ LOCALBASE="${LOCALBASE}" JBIGI_LIBS= \ @@ -44,10 +43,6 @@ do-install: .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= doesn't build: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC -.endif - .if ${ARCH} == "i386" JBIGI_BUILD_JCPUID= yes .endif @@ -67,7 +62,7 @@ do-build: # jbigi cd ${BUILD_WRKSRC}/jbigi && \ ${ENV} ${JBIGI_BUILD_ENV} \ - ${SH} ./build_jbigi.sh static + ${SH} ./build_jbigi.sh dynamic ## prepare jar .ifdef(JBIGI_BUILD_JCPUID) # jcpuid diff --git a/math/libjbigi/distinfo b/math/libjbigi/distinfo index 920fda4b73b9..6b807a82a536 100644 --- a/math/libjbigi/distinfo +++ b/math/libjbigi/distinfo @@ -1,2 +1,2 @@ -SHA256 (i2psource_0.7.2.tar.bz2) = 49f68c66167fbf3658156efbe946e965bd9471a71e76dfdd5f97a5c1b1470146 -SIZE (i2psource_0.7.2.tar.bz2) = 8339856 +SHA256 (i2psource_0.8.7.tar.bz2) = 31acef3fcd1a5839edc3b931f108944222c833d218bd427fe89a57b4acd92ece +SIZE (i2psource_0.8.7.tar.bz2) = 18473515 |