Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 15:38:20 +0900
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        flz@FreeBSD.org, pav@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/114890: building science/xmakemol fails with libGL.
Message-ID:  <200707300638.AA00532@POLYMER5.scphys.kyoto-u.ac.jp>
In-Reply-To: <1185714355.42146.19.camel@ikaros.oook.cz>
References:  <1185714355.42146.19.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik <pav@FreeBSD.org> wrote:

> Looks like a problem with libGLw port.
> 
> Florent, ideas? When user have CFLAGS defined in make.conf, CFLAGS+=
> from libGLw port is ignored.

"CFLAGS" decided by /usr/share/mk/sys.mk, /etc/make.conf, and ports/libGLw/Makefile
is overwritten by calling /etc/make.conf again, by recursive make, I guess.
Adding "-D__GLX_MOTIF=1" to "_CFLAGS :=" in files/config will solve this problem.
Or "USE_GMAKE=yes" will also do.

How should we do about variables succession in recursive make ?

---
Tsurutani Naoki



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707300638.AA00532>