Date: Tue, 31 Jul 2018 10:18:50 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 230234] graphics/php72-gd: Fails to build with ports libgd without XPM support Message-ID: <bug-230234-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230234 Bug ID: 230234 Summary: graphics/php72-gd: Fails to build with ports libgd without XPM support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tz@freebsd.org Reporter: madpilot@FreeBSD.org Assignee: tz@freebsd.org Flags: maintainer-feedback?(tz@freebsd.org) Hi, If one has disabled XPM support in graphics/gd php php-gd ports fail to bui= ld This is the error I'm getting: /wrkdirs/usr/ports/graphics/php72-gd/work/php-7.2.8/ext/gd/gd.c:57:11: fatal error: 'X11/xpm.h' file not found # include <X11/xpm.h> ^~~~~~~~~~~ 1 error generated. *** [gd.lo] Error code 1 make[1]: stopped in /wrkdirs/usr/ports/graphics/php72-gd/work/php-7.2.8/ext= /gd 1 error make[1]: stopped in /wrkdirs/usr/ports/graphics/php72-gd/work/php-7.2.8/ext= /gd =3D=3D=3D> Compilation failed unexpectedly. Simply adding a LIB_DEPENDS on libxpm makes it compile, but adds a bunch of unwanted X11 dependencies. I don't have a patch to really fix the issue at hand. php configure script first checks if GD has XPM support, but does not define anything in that phase. Then it tests for a gdImageCreateFromXpm() function, which is defined anyway as a stub returning an error message. After this defines HAVE_GD_XPM, which causes the above error. I'm trying to make a patch fixing the configure script. --=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-230234-7788>