From owner-freebsd-ruby@FreeBSD.ORG Mon Feb 11 01:25:45 2013 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0855D5DA; Mon, 11 Feb 2013 01:25:45 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) by mx1.freebsd.org (Postfix) with ESMTP id 9CB0DDD1; Mon, 11 Feb 2013 01:25:44 +0000 (UTC) Received: from meatwad.mouf.net (cpe-098-122-135-254.nc.res.rr.com [98.122.135.254]) (authenticated bits=0) by mouf.net (8.14.5/8.14.5) with ESMTP id r1B1PXr0040273 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Mon, 11 Feb 2013 01:25:39 GMT (envelope-from swills@FreeBSD.org) Message-ID: <5118488D.3080706@FreeBSD.org> Date: Mon, 11 Feb 2013 01:25:33 +0000 From: Steve Wills User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: ruby-1.9.pc; strange/harmful entry References: <510FD6A0.2010303@FreeBSD.org> <5117FB5E.1000502@mouf.net> <51181185.1080802@FreeBSD.org> In-Reply-To: <51181185.1080802@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mouf.net [199.48.129.64]); Mon, 11 Feb 2013 01:25:39 +0000 (UTC) X-Spam-Status: No, score=1.3 required=4.5 tests=RCVD_IN_RP_RNBL autolearn=no version=3.3.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.6 at mouf.net X-Virus-Status: Clean Cc: ruby@FreeBSD.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 01:25:45 -0000 On 02/10/13 21:30, Andriy Gapon wrote: > on 10/02/2013 21:56 Steve Wills said the following: >> On 02/04/13 15:41, Andriy Gapon wrote: >>> $ pkgconf --libs ruby-1.9 >>> -Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo -lpthread >>> -lcrypt -lm -L/usr/local/lib -Wl,-rpath=/usr/local/lib -pthread >>> >>> I am not sure if '(.TARGET)' is supposed to be expanded. But I think that >>> -Wl,-soname should really have no place in pkgconf data. >>> As it is now, the entry causes confusion (e.g. for a shell) when the above line is >>> included verbatim into some compilation/link command like. >>> >> >> I suspect this could be bmake related. What version of FreeBSD are you >> using? > > This is recent-ish head (r244281). > Actually, this isn't bmake related at all, I'll try to come up with a solution. Thanks for the report. If you have time, a PR would be handy, just in case I forget. Thanks, Steve