From owner-freebsd-ports@FreeBSD.ORG Thu Sep 15 20:45:36 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 410E8106564A for ; Thu, 15 Sep 2011 20:45:36 +0000 (UTC) (envelope-from aehlig@linta.de) Received: from linta.de (isilmar-3.linta.de [188.40.101.200]) by mx1.freebsd.org (Postfix) with ESMTP id 7A4758FC1D for ; Thu, 15 Sep 2011 20:45:34 +0000 (UTC) Received: (qmail 7180 invoked by uid 10); 15 Sep 2011 20:45:33 -0000 Received: from curry.linta.de by isilmar.linta.de with BSMTP; 15 Sep 2011 20:45:33 -0000 Received: by curry.linta.de (Postfix, from userid 1001) id E38441CC1D; Thu, 15 Sep 2011 21:45:20 +0100 (BST) Date: Thu, 15 Sep 2011 21:45:20 +0100 From: "Klaus T. Aehlig" To: stas@FreeBSD.org, ports@freebsd.org Message-ID: <20110915204520.GA76518@curry.linta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Interaction between devel/ncurses and lang/ruby18? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 20:45:36 -0000 Hallo, on my system, I have devel/ncurses installed. While upgrading (to a ports tree as of yesterday evening) I found that I couldn't build lang/ruby18. The error message complained that libncurses.a was not compiled with -fPIC. Of course, adding the lines .if !empty(.CURDIR:M*/ports/devel/ncurses*) CFLAGS += -fPIC .endif to my /etc/make.conf and reinstalling devel/ncurses solved that problem. So my system is sound and safe. No worries there. However, I still want to mention this, as devel/ncurses is not a dependency of lang/ruby18, neither directly nor indirectly. And the way an unrelated port is build should have no effect on the build process. Has anybody observed something similar, or has an idea how such a thing could happen? Best regards, Klaus