sysutils/conky Configure Options in Makefile

Matt Burke mattblists at icritical.com
Wed Aug 29 08:09:12 UTC 2012


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



More information about the freebsd-ports mailing list