Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Mar 2011 13:14:31 -0300
From:      Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
To:        Barbara <barbara.xxx1975@libero.it>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD Port: transmission-2.22
Message-ID:  <1299514471.23253.12.camel@z6000.lenzicasa>
In-Reply-To: <2859568.4236931299417867702.JavaMail.defaultUser@defaultHost>
References:  <2859568.4236931299417867702.JavaMail.defaultUser@defaultHost>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-LKht/ot12MywhwgMQZJT
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Em Dom, 2011-03-06 às 14:24 +0100, Barbara escreveu:

> > Because, probably it's not a good solution.
> > I'm useing memcached witch need libevent to work.
> > So removing libevent, will broke memcached :-(
> 

you can apply this patch (attached)
in /usr/ports/net-p2p/transmission-cli
patch < Makefile.diff
and rebuild the port

--=-LKht/ot12MywhwgMQZJT
Content-Description: 
Content-Disposition: attachment; filename="Makefile.diff"
Content-Type: text/x-patch; name="Makefile.diff"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

--- Makefile.orig	2011-03-05 01:17:28.000000000 -0300
+++ Makefile	2011-03-07 13:08:34.711008817 -0300
@@ -29,7 +29,8 @@
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS=	-I${LOCALBASE}/include
-LDFLAGS=	-L${LOCALBASE}/lib
+LDFLAGS+=	`pkg-config --libs libevent`
+LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"
 CONFIGURE_ARGS=--with-zlib=/usr \
 		--disable-libappindicator \
@@ -38,6 +39,7 @@
 EXTRA_CONF_ARGS?=--enable-cli \
 		 --disable-daemon \
 		 --disable-gtk \
+		 --disable-silent-rules \
 		 --disable-libnotify \
 		 --disable-mac \
 		 --disable-nls

--=-LKht/ot12MywhwgMQZJT--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1299514471.23253.12.camel>