From owner-freebsd-ports@FreeBSD.ORG Wed Aug 29 08:09:12 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4705D106566B for ; Wed, 29 Aug 2012 08:09:12 +0000 (UTC) (envelope-from mattblists@icritical.com) Received: from mail2.icritical.com (mail2.icritical.com [212.57.248.50]) by mx1.freebsd.org (Postfix) with SMTP id 8C2828FC08 for ; Wed, 29 Aug 2012 08:09:11 +0000 (UTC) Received: (qmail 16208 invoked from network); 29 Aug 2012 08:02:26 -0000 Received: from localhost (127.0.0.1) by mail2.icritical.com with SMTP; 29 Aug 2012 08:02:26 -0000 Received: (qmail 16193 invoked by uid 599); 29 Aug 2012 08:02:26 -0000 Received: from unknown (HELO PDC002.icritical.int) (212.57.254.146) by mail2.icritical.com (qpsmtpd/0.28) with ESMTP; Wed, 29 Aug 2012 09:02:26 +0100 Message-ID: <503DCC77.3000505@icritical.com> Date: Wed, 29 Aug 2012 09:01:59 +0100 From: Matt Burke User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120812 Thunderbird/14.0 MIME-Version: 1.0 To: Jamie Paul Griffin References: <20120828204102.GA78518@kontrol.kode5.net> In-Reply-To: <20120828204102.GA78518@kontrol.kode5.net> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-TLS-Incoming: YES X-Virus-Scanned: by iCritical at mail2.icritical.com Cc: freebsd-ports@freebsd.org Subject: Re: sysutils/conky Configure Options in Makefile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 08:09:12 -0000 On 08/28/12 21:41, Jamie Paul Griffin wrote: > I have installed conky for use with my wm which is Spectrwm. However, > looking in the conky Makefile one of the configure options has been > disabled, tcp monitoring (--disable-portmon), which is a feature i'd > quite like to have available. Is there a reason the maintainer has > disabled this option, perhaps due to security or incompatibility, etc., > that anyone knows of? It appears to be disabled in the port Makefile because Conky's configure script says it's not supported on FreeBSD. cd /usr/ports/*/conky make clean patch vi Makefile - remove the --disable-portmon vi work/conky*/configure - change xLinux to xFreeBSD at line 14043 make Dunno if it actually works, but it does build, albeit with a warning for me: cc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/local/lib/conky\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -D_REENTRANT -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/lua51 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -Wall -W -O2 -pipe -fno-omit-frame-pointer -fno-strict-aliasing -MT conky-llua.o -MD -MP -MF .deps/conky-llua.Tpo -c -o conky-llua.o `test -f 'llua.c' || echo './'`llua.c llua.c:43:1: warning: "MIN" redefined In file included from /usr/local/include/glib-2.0/glibconfig.h:9, from /usr/local/include/glib-2.0/glib/gtypes.h:34, from /usr/local/include/glib-2.0/glib/galloca.h:34, from /usr/local/include/glib-2.0/glib.h:32, from libtcp-portmon.h:38, from tcp-portmon.h:25, from conky.h:112, from llua.c:25: /usr/local/include/glib-2.0/glib/gmacros.h:201:1: warning: this is the location of the previous definition The information contained in this message is confidential and intended for the addressee only. If you have received this message in error, or there are any problems with its content, please contact the sender. iCritical is a trading name of Critical Software Ltd. Registered in England: 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. This message has been scanned for security threats by iCritical. www.icritical.com