net-p2p/transmission-cli: Fix USES and iconv support

This is a master port for transmission-qt and transmission-gtk.  To honor
any USES definition of the slave ports, the USES here has to be defined
with +=.  Additionally, it links with iconv so that support was added
while I'm here.

Approved by:	crees (maintainer)
This commit is contained in:
John Marino 2013-09-13 20:53:52 +00:00
parent 9818b60f15
commit 08e12b0c25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327184

View file

@ -35,12 +35,12 @@ GEN_LIB_DEPENDS=curl:${PORTSDIR}/ftp/curl \
event-2.0.6:${PORTSDIR}/devel/libevent2
GEN_RUN_DEPENDS=${LOCALBASE}/share/transmission/web/index.html:${PORTSDIR}/www/transmission-web
USE_GMAKE= yes
USES= pkgconfig
# This is master port of transmission-*, so don't override USES definition
USES+= gmake pkgconfig iconv
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS=--with-zlib=/usr \
${EXTRA_CONF_ARGS}
EXTRA_CONF_ARGS?=--enable-cli \