ports/76256: The configure script of sysutils/torsmo does not find Xlib.h and Xdbe.h
Roman Bogorodskiy
bogorodskiy at gmail.com
Sat Jan 15 19:40:27 UTC 2005
The following reply was made to PR ports/76256; it has been noted by GNATS.
From: Roman Bogorodskiy <bogorodskiy at gmail.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/76256: The configure script of sysutils/torsmo does not find Xlib.h and Xdbe.h
Date: Sat, 15 Jan 2005 22:38:56 +0300
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:
More information about the freebsd-ports-bugs
mailing list