1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

o Update to 0.8.7

o Fix BROKEN on amd64 arch: build a dynamic JNI library depending
  on port math/gmp
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2011-07-24 20:16:38 +00:00
parent ed390cc37b
commit fba2588d77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278260
2 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -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