From owner-svn-ports-head@FreeBSD.ORG Tue Oct 30 12:09:47 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B038DBF4; Tue, 30 Oct 2012 12:09:47 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 96E908FC15; Tue, 30 Oct 2012 12:09:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9UC9lVn086141; Tue, 30 Oct 2012 12:09:47 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9UC9lAw086139; Tue, 30 Oct 2012 12:09:47 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201210301209.q9UC9lAw086139@svn.freebsd.org> From: Chris Rees Date: Tue, 30 Oct 2012 12:09:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306669 - head/net-p2p/transmission-cli X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 12:09:47 -0000 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 + .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