diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-06-06 01:14:33 +0800 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-06-06 01:14:33 +0800 |
commit | 672e1d48f198f94717d00689e214af27b679f62b (patch) | |
tree | 3c7e5f229dc21c2aac5f8409530a1735595f96a9 /security/i2p | |
parent | e9172ee1c729f893faa18c1514219bab65898638 (diff) | |
download | freebsd-ports-gnome-672e1d48f198f94717d00689e214af27b679f62b.tar.gz freebsd-ports-gnome-672e1d48f198f94717d00689e214af27b679f62b.tar.zst freebsd-ports-gnome-672e1d48f198f94717d00689e214af27b679f62b.zip |
Fix build with JDK7 and later and make it always dependent upon libiconv
from the ports tree.
Reported by: exp-run (PR190511)
Diffstat (limited to 'security/i2p')
-rw-r--r-- | security/i2p/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/security/i2p/Makefile b/security/i2p/Makefile index f8e81d511993..24185326b459 100644 --- a/security/i2p/Makefile +++ b/security/i2p/Makefile @@ -24,6 +24,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_DISTFILES= i2psource_${PORTVERSION}${EXTRACT_SUFX} BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a:${PORTSDIR}/math/gmp +LIB_DEPENDS= libiconv.so.3:${PORTSDIR}/converters/libiconv RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip ONLY_FOR_ARCHS= i386 amd64 @@ -31,7 +32,7 @@ ONLY_FOR_ARCHS_REASON= i2p libwrapper.so library binary only available for i386 OPTIONS_DEFINE= DOCS -USES= gettext iconv tar:bzip2 +USES= gettext tar:bzip2 USE_RC_SUBR= i2p USE_ANT= yes @@ -42,6 +43,7 @@ JAVA_VERSION= 1.6+ ALL_TARGET= \ updater \ tarball +MAKE_ENV= LANG=en_US.UTF-8 PORTDATA= * @@ -62,14 +64,6 @@ JAVADOC_WRKSRC= ${WRKSRC}/build/javadoc .include <bsd.port.pre.mk> -# Only works with converters/iconv port due to binary dependency: -# source code isn't available at this moment -.if ${OSVERSION} >= 1000043 -IGNORE= libwrapper.so binary depends on converters/iconv port.\ - Therefore, it's not compatible with FreeBSD 10.x and above. Check\ - entry 20130904 on ${PORTSDIR}/UPDATING -.endif - post-patch: # postinstall.sh SHOULD only do post installation house keeping @${REINPLACE_CMD} -E \ |