Although ports/graphics/gd depends on libpng, it is not compiled with
PNG support. Fix: Add GD_PNG to the FEATURES list. See trivial patch
Over to maintainer
The png support was compiled in.
Due a bug in the configure script of the distribution,
that feature was not listed.