Buiding the package with poudriere the log says
422 [pkg.esprimo.local] | | `-- Extracting jbigkit-2.1_1: .......... done
423 [pkg.esprimo.local] | | `-- Extracting tiff-4.0.6: .......... done
424 [pkg.esprimo.local] | `-- Extracting gdk-pixbuf2-2.32.1: .......... done
425 [pkg.esprimo.local] | `-- Installing shared-mime-info-1.5...
533 checking if image is enabled... fb,x11
534 checking image library... gtk2
535 configure: WARNING: GdkPixbuf is not installed. Install GdkPixbuf (version >= 2.0.0)
536 configure: WARNING: unable to build w3mimgdisplay with X11 support
537 configure: WARNING: unable to build w3mimgdisplay with FB support
As the result w3mimgdisplay does not respond to commands as
echo -e '5;image.jpg\n' | /usr/local/libexec/w3m/w3mimgdisplay
which is the method to detect the image isze by py-ranger and my be others.
An extracted file from http://distcache.freebsd.org/freebsd:10:x86:64/latest/All/
shows the similar behaviour. A build in a unclean environment finds GdkPixbuf. This file responds to the example above.
A discussion about ranger is here https://forums.freebsd.org/threads/ranger-file-manager-sysutils-py-ranger-on-freebsd.54513/
Thank you for your kind consideration!
Created attachment 165610 [details]
Created attachment 165611 [details]
please find attached a modified Makefile and a modified patch. The modified Makefile invokes devel/pkgconf which is used in the configure script. Additionally I have had to add a patch to the configure script to fix PKG_CONFIG which results in the second attachment. This might be just a temporary work arround.
With both attachments w3mimgdisplay build with poudriere works fine on my system.
A commit references this bug:
Date: Sat Jan 16 13:43:22 UTC 2016
New revision: 406221
Fix gdk-pixbuf2 detection in configure to work w3mimgdisplay correctly.
Submitted by: firstname.lastname@example.org
Thank you Christoph, I have committed your fix.