It seems that the configure script is looking for the header files X11/Xlib.h and X11/extensions/Xdbe.h in /usr/include instead of /usr/X11R6/include. Consequently, the compiled torsmo binary does not recognize the option "double_buffer yes" in .torsmorc: torsmo: /home/boko/.torsmorc: 35: no such configuration: 'double_buffer' Fix: Add the line CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" to /usr/ports/sysutils/torsmo/Makefile. How-To-Repeat: cd /usr/ports/sysutils/torsmo make configure Then look for the lines: checking for X11/Xlib.h... no checking for X11/extensions/Xdbe.h... no
You're right, thanks! Among these changes I've also included some new knobs and bumped PORTREVISION (patch attached). -Roman Bogorodskiy
diff -ru torsmo.orig/Makefile torsmo/Makefile --- torsmo.orig/Makefile Sat Jan 15 15:35:21 2005 +++ torsmo/Makefile Sat Jan 15 15:53:01 2005 @@ -7,7 +7,7 @@ =20 PORTNAME=3D torsmo PORTVERSION=3D 0.18 -PORTREVISION=3D 2 +PORTREVISION=3D 3 CATEGORIES=3D sysutils MASTER_SITES=3D ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=3D ${PORTNAME} @@ -16,6 +16,7 @@ COMMENT=3D System monitor that renders text on desktop =20 GNU_CONFIGURE=3D yes +CONFIGURE_ENV=3D CPPFLAGS=3D"-I${X11BASE}/include" USE_X_PREFIX=3D yes MAN1=3D torsmo.1 =20 @@ -24,13 +25,23 @@ PLIST_DIRS=3D %%EXAMPLESDIR%% PORTDOCS=3D AUTHORS ChangeLog NEWS README =20 -OPTIONS=3D XFT "Enable XFT support" on +OPTIONS=3D XFT "XFT support" on \ + OWN_WINDOW "Ccreating own window support" on \ + DOUBLE_BUFFER "Flicker-free operation support" on =20 .include <bsd.port.pre.mk> =20 .if defined(WITH_XFT) LIB_DEPENDS+=3D Xft.2:${PORTSDIR}/x11-fonts/libXft CONFIGURE_ARGS+=3D --enable-xft +.endif + +.if !defined(WITH_OWN_WINDOW) +CONFIGURE_ARGS+=3D --disable-own-window +.endif + +.if !defined(WITH_DOUBLE_BUFFER) +CONFIGURE_ARGS+=3D --disable-double-buffer .endif =20 post-install:
State Changed From-To: open->closed Maintainer's patch committed.