From owner-freebsd-ports@FreeBSD.ORG Thu Sep 15 22:13:50 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 AA68E106566B for ; Thu, 15 Sep 2011 22:13:50 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 641D98FC08 for ; Thu, 15 Sep 2011 22:13:50 +0000 (UTC) Received: from orion.SpringDaemons.com (207.47.0.2.static.nextweb.net [207.47.0.2]) by mx0.deglitch.com (Postfix) with ESMTPA id 33D578FC38; Fri, 16 Sep 2011 02:13:48 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 5DEAE5C36; Thu, 15 Sep 2011 15:13:04 -0700 (PDT) Date: Thu, 15 Sep 2011 15:13:04 -0700 From: Stanislav Sedov To: "Klaus T. Aehlig" Message-Id: <20110915151304.98b219d1.stas@FreeBSD.org> In-Reply-To: <20110915204520.GA76518@curry.linta.de> References: <20110915204520.GA76518@curry.linta.de> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: 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 22:13:50 -0000 On Thu, 15 Sep 2011 21:45:20 +0100 "Klaus T. Aehlig" mentioned: > > 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? > Hmm, it should not depend on ncurses, and certainly it should not link against a static library. Can you please send me a build log of lang/ruby18? Thanks! -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments