Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2011 21:45:20 +0100
From:      "Klaus T. Aehlig" <aehlig@linta.de>
To:        stas@FreeBSD.org, ports@freebsd.org
Subject:   Interaction between devel/ncurses and lang/ruby18?
Message-ID:  <20110915204520.GA76518@curry.linta.de>

next in thread | raw e-mail | index | archive | help

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





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