Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2023 11:40:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271156] graphics/imlib2: Fix X11 dependency (third time)
Message-ID:  <bug-271156-7788-aAulVVB9o7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271156-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271156-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271156-7788-aAulVVB9o7>