From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 29 12:53:07 2007 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95D0016A417; Sun, 29 Jul 2007 12:53:07 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from omls-1c.kuins.net (omls-1c.kuins.net [130.54.130.73]) by mx1.freebsd.org (Postfix) with ESMTP id 2755513C46E; Sun, 29 Jul 2007 12:53:06 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from imls-1a.kuins.net (imls-1a.imail.kuins.net [10.224.253.3] (may be forged)) by omls-1c.kuins.net (8.13.8/8.12.7) with ESMTP id l6TCr5W6020132; Sun, 29 Jul 2007 21:53:06 +0900 Received: from imls-1a.kuins.net (localhost.localdomain [127.0.0.1]) by imls-1a.kuins.net (8.12.11/8.12.10) with ESMTP id l6TCr5be022788; Sun, 29 Jul 2007 21:53:05 +0900 Received: from [10.228.181.42] (h42.181.228.10.100307.vlan.kuins.net [10.228.181.42]) by imls-1a.kuins.net (8.12.11/8.12.10) with ESMTP id l6TCr5OI022783; Sun, 29 Jul 2007 21:53:05 +0900 Message-ID: <46AC8DAC.4090706@scphys.kyoto-u.ac.jp> Date: Sun, 29 Jul 2007 21:53:00 +0900 From: Tsurutani Naoki User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: pav@FreeBSD.org 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> In-Reply-To: <1185705827.42146.14.camel@ikaros.oook.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/114890: building science/xmakemol fails with libGL. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 12:53:07 -0000 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.