From nobody Mon May 01 11:40:38 2023 X-Original-To: ports-bugs@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 4Q91VZ5yJbz48R2D for ; Mon, 1 May 2023 11:40:38 +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 4Q91VZ3wqfz4Mpc for ; Mon, 1 May 2023 11:40:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682941238; 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=UAq6wRCitDDWv2vF+eJx2MJqGVW+lHgCG7x3K2eYqIo=; b=kPDQpN3CIS+OZD/8MKYEJHm4surZmpgQtwUr9AGYzT1fwIqG3ErmlKgxvjDR/zuzVwzNzl KKGE9fe7l4lhxCqzhRMRig10k8mYR7rLc5P36pIWRjJ5FVJmFzokJE2qeO0jvfCt4Y+IQZ cCPlZ8nNOo5+NxQuMH9iKzv7c8sU6m6wu06cgfTcJzxVFSdEGYheTvn09t48YpeHyTxkye z776J+JXoPRv+CPvA8dDrE+/qcx/vM2L4KFNXEGd6CQR19iGRAukHXhhdnqxk0tSY9SAW4 fu1FFMoQA3AYgo6m8nP6n+qFtLINTSz+WpdqP6ZIDVhtxJ0TdUcA/O6NWNbq3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682941238; a=rsa-sha256; cv=none; b=PJV6CU4MsQLhAvKfTRAmFOXZN4V6R8A9I66TZVxngpcThISNOqbLd4kAmKlEr4ERkfhvl0 WP4eHFKIIzIKEou4nBdq7p9B5y59SDzqe1xCE2Y8Q6T232WWxYqW0Xs+mpS5nZPPc8PJXy 01UYKs/14VFB7cEwVpegXRTG/ZANmEApAnLyz5+Bw35i4DIc87cuvokVFVCedkKYMIQpuJ 1LGdawpVKp50MuVcILGIPhdaoS/777XoASRg4+TF+MiHCmZj8uEHSwIm8BrJfMZCFssejI cdU4Po17x1xnDPDlmGxDQernADM1L3Q7KIq2PG4zQVl0kzX0Cw0k/z4d1j7ohQ== 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 4Q91VZ32BBz13PH for ; Mon, 1 May 2023 11:40:38 +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 341BecXY086575 for ; Mon, 1 May 2023 11:40:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 341Bec0S086573 for ports-bugs@FreeBSD.org; Mon, 1 May 2023 11:40:38 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: ports-bugs@FreeBSD.org Subject: [Bug 271156] graphics/imlib2: Fix X11 dependency (third time) Date: Mon, 01 May 2023 11:40:38 +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 Only Me X-Bugzilla-Who: fsbruva@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271156 --- Comment #2 from fsbruva@yahoo.com --- (In reply to Mina Gali=C4=87 from comment #1) Good point. The issue is not during imlib2 build, as the ports Makefile correctly passes --without-x to configure, and all is well. The problem is that the unmodified Imlib2.h gets installed to ${LOCALBASE}/include. Dependent programs that #include Imlib2.h need to ALSO set X_DISPLAY_MISSING, but may not know they need to. Within Imlib2.h, there are numerous function prototypes that are also protected by #ifndef X_DISPLAY_MISSING, because when imlib2 was build built, the --without-x influenced the build. My thought is that once the Imlib2.h is installed, it should reflect the library as installed. To this end, defining X_DISPLAY_MISSING seemed like t= he easiest and simplest method to ensure success for dependent ports. --=20 You are receiving this mail because: You are the assignee for the bug.=