The ebuild compiled fine with the following use flags: "X png readline"
Did it work as well as compile? Did it compile and work with other combinations of USE flags?
It works. I didn't try other combinations of use flags.
I will not be able to mark gnuplot-4.0 stable until x86 does so. (indicative that there is an upstream issue keeping 4.0 unstable). I will mark 3.8j stable as soon as the gd bug is resolved. Alternatively, both 3.8j and 4.0-r1 have been marked for unstable ppc-macos.
Since this package is already keyworded unstable, I'm closing this bug.