Date: Tue, 30 Oct 2012 12:09:47 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306669 - head/net-p2p/transmission-cli Message-ID: <201210301209.q9UC9lAw086139@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees Date: Tue Oct 30 12:09:47 2012 New Revision: 306669 URL: http://svn.freebsd.org/changeset/ports/306669 Log: Add OPTION for lightweight build-- disables prefetching Requested by: Elias Rohrer While here, remove obsolete configure args Feature safe: yes Modified: head/net-p2p/transmission-cli/Makefile Modified: head/net-p2p/transmission-cli/Makefile ============================================================================== --- head/net-p2p/transmission-cli/Makefile Tue Oct 30 10:48:34 2012 (r306668) +++ head/net-p2p/transmission-cli/Makefile Tue Oct 30 12:09:47 2012 (r306669) @@ -20,6 +20,12 @@ SLAVEPORT?= cli CONFLICTS_INSTALL= ${PORTNAME}${PKGNAMESUFFIX}-2.5* +OPTIONS_DEFINE= LIGHTWEIGHT + +LIGHTWEIGHT_DESC= Build for low memory / low speed devices + +.include <bsd.port.options.mk> + .if ${SLAVEPORT}!="web" LIB_DEPENDS?= ${GEN_LIB_DEPENDS} @@ -35,8 +41,6 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS=--with-zlib=/usr \ - --disable-libappindicator \ - --disable-gconf2 \ ${EXTRA_CONF_ARGS} EXTRA_CONF_ARGS?=--enable-cli \ --disable-daemon \ @@ -44,6 +48,10 @@ EXTRA_CONF_ARGS?=--enable-cli \ --disable-mac \ --disable-nls +.if ${PORT_OPTIONS:MLIGHTWEIGHT} +CONFIGURE_ARGS+=--enable-lightweight +.endif + MAN1?= transmission-cli.1 transmission-create.1 transmission-edit.1 \ transmission-show.1 EXTRA_PATCHES= ${PATCHDIR}/disable-web
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210301209.q9UC9lAw086139>