workaround for /ports/x11/xlockmore/ with mesagl
Mamoru Iwaki
iwaki at eng.niigata-u.ac.jp
Fri Mar 14 12:04:22 UTC 2008
Hi,
I encounterd a compile error with the following environment
# $FreeBSD: ports/x11/xlockmore/Makefile,v 1.109 2008/03/13 11:33:44
miwi Exp $
FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Mar 13 19:32:06 JST 2008
root@:/usr/obj/usr/src/sys/GENERIC i386
The error happened when MESAGL option set.
As a workaround, the following patch works:
--- Makefile.org 2008-03-14 20:45:22.000000000 +0900
+++ Makefile 2008-03-14 20:28:29.000000000 +0900
@@ -58,6 +58,7 @@
CONFIGURE_ARGS+= --with-mesa
MESALIB=${PTHREAD_LIBS}
USE_GL= yes
+CFLAGS+= -I${X11BASE}/include/FTGL
.else
CONFIGURE_ARGS+= --without-mesa --without-opengl
.endif
Thank you
--
-----
Mamoru IWAKI (iwaki at eng.niigata-u.ac.jp)
Graduate School of Science and Technology, Niigata University
More information about the freebsd-ports
mailing list