Date: Fri, 14 Mar 2008 20:47:08 +0900 From: Mamoru Iwaki <iwaki@eng.niigata-u.ac.jp> To: ports@FreeBSD.org Subject: workaround for /ports/x11/xlockmore/ with mesagl Message-ID: <47DA65BC.8010308@eng.niigata-u.ac.jp>
next in thread | raw e-mail | index | archive | help
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@eng.niigata-u.ac.jp) Graduate School of Science and Technology, Niigata University
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47DA65BC.8010308>