svn commit: r306669 - head/net-p2p/transmission-cli
Chris Rees
crees at FreeBSD.org
Tue Oct 30 12:09:47 UTC 2012
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
More information about the svn-ports-head
mailing list