Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2007 21:53:00 +0900
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        pav@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/114890: building science/xmakemol fails with libGL.
Message-ID:  <46AC8DAC.4090706@scphys.kyoto-u.ac.jp>
In-Reply-To: <1185705827.42146.14.camel@ikaros.oook.cz>
References:  <200707281942.l6SJgoY6092447@freefall.freebsd.org>	 <46ABC77E.4060607@scphys.kyoto-u.ac.jp>	 <1185663190.57605.43.camel@ikaros.oook.cz>	 <46AC1C5F.2000004@scphys.kyoto-u.ac.jp> <1185705827.42146.14.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:

>> I want to know who should install glwMDrawingArea etc.
> 
> libGLw (w is for widgets).

Thank you for your reply.
I found no glwMDrawingArea* in /usr/local/lib/libGLw.so.1,
but libGLw.so.1 in downloaded package has it.
I investigated the log in pointyhat 
(http://pointyhat.freebsd.org/errorlogs/i386-6-full-logs/libGLw-6.5.3.log),
and found a difference; "-D__GLX_MOTIF=1" is not used while
building the only one C source file on my host, but on pointyhat it was used.
I build library with just the same way shown in the log on pointyhat,
and found that glwMDrawingArea* are include in libGLw.so.1.

I wonder why this happens.
Variable CFLAGS is set in /etc/make.conf, and removing this from
/etc/make.conf allows building libGLw with glwMDrawingArea*,
just like on the pointyhat.
Setting CFLAGS in /etc/make.conf is allowed, as far as the value
is not so confusing one.
Why CFLAGS in the Makefile is overwritten by /etc/make.conf ?
Is that the correct way of setting variables ?

Anyway, this is not a bug of science/xmakemol.
Thank you for your assistance.



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