From owner-freebsd-gnome@freebsd.org Tue May 31 13:15:06 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F5BBB55739 for ; Tue, 31 May 2016 13:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABA81706 for ; Tue, 31 May 2016 13:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A22CB55738; Tue, 31 May 2016 13:15:06 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29D13B55737 for ; Tue, 31 May 2016 13:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB781705 for ; Tue, 31 May 2016 13:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4VDF542083167 for ; Tue, 31 May 2016 13:15:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 209813] Problems with implicit library dependencies introduced by gnome ports Date: Tue, 31 May 2016 13:15:06 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 13:15:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209813 --- Comment #6 from Tijl Coosemans --- As far as I know upstream is very well aware of this and it's all intention= al.=20 The dependencies are added by the headers. Some glib headers include libin= tl.h and then use gettext in some macros. Programs that use this API (directly = or indirectly) can end up with calls to gettext and need to be linked with libintl.so. These programs shouldn't have to care about how the API is implemented (with gettext or something else) so the reasoning is that it's pkg-config's job to add -lintl. This means -lintl is always added even whe= n it isn't strictly necessary, but there isn't any more fine-grained method. It would be nice if library requirements could be expressed in headers (and ob= ject files) so the compiler (and linker) know exactly what libraries are needed. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=