From nobody Thu Dec 28 06:15:15 2023 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T0ysv3z2Vz556Vs for ; Thu, 28 Dec 2023 06:15:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T0ysv1X43z4WRT for ; Thu, 28 Dec 2023 06:15:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703744115; a=rsa-sha256; cv=none; b=o66ZNYeCWffEdnMqyLZqrH8JSQkIrp1cqIJX2Vq1ow29CjnZkgi42gHnrxeMpGu//if5XY xvP7Pvt59htgk4MbwwfQZKYwxBvFcvu5eSokfMUlPpUkgE3AQLNfxR3cvTbCnZ/pTSctmE YL7lqz91p4hbgU0bYWO0PWhhS1g2JAihl990pp0dAKfVY9K/R2LcCftie+fOU4N8EalwLA zluEb7tCZK41uRj7mAUePAaqNGrbVG4UPs+0gZ64AfpPfV2/nwxtym9K3YMdgWAnc5NEX0 9SK0+eEjmdPTvgf2TU86QB6otW70GzPkqtTTxTFtJa79ZV8BTrPl2XI5+M89dA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703744115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VovMYvIMmh5V9at2Yyk5UE/CaAZaojXOC2PyqORKbJ4=; b=Kq0nPS1SrG5sI6kn4mRspeUgfIL79+WPVj/0Ql82EKdaLW3S6V+gNVY20u+VK7VEQLxOV+ K4EZBK6OIM7TX0nwfYqBUqyQTT5I1UK8fBT3RhBMMfdUiq+s/V5GyUdx8wjXkQ11RhoHZ9 WxVI24tjeNEb5mBq2u5QkfuAHa3t/E5O6ZNX5XVeceG862dltgm0YxLCPVWqNo7K+8r20S AFBapJFD7ehFQfQmBR4x+kE//81y9n9b/87kkOhu37sFfteJwNTUis7RzObj2ZB8qmCbFU Gb2/inWgf7f8hfc0Gv17Ldy9CATkvp1t1JUYZy5MHV1tkW1a9pkN10jXKRtU2w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T0ysv0bf7z19lY for ; Thu, 28 Dec 2023 06:15:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BS6FFAC085792 for ; Thu, 28 Dec 2023 06:15:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BS6FFnj085791 for desktop@FreeBSD.org; Thu, 28 Dec 2023 06:15:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 275969] converters/libiconv: Unable to build without including /usr/local/include/iconv.h Date: Thu, 28 Dec 2023 06:15:15 +0000 X-Bugzilla-Reason: 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 Some People X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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 List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275969 --- Comment #6 from Gleb Popov --- > However, the problem remains: I'm including /usr/local/include/iconv.h an= d linking with -lc which also provides an iconv implementation. With the LI= BICONV_PLUG the libiconv functions don't get the "lib" prefix. > I'm guessing libiconv and libc try to provide compatible headers, but it = seems a bit fragile to depend on that. What's the problem with this approach? This is exactly what Ports framework= do. By passing -DLIBICONV_PLUG you make it indifferent for the software you're compiling whether 3rd party libiconv is installed or not. --=20 You are receiving this mail because: You are the assignee for the bug.=