Import math/gnuplot version 4.6.1
bsd.wx.mk: Add wxX-common port when library is requested

This was not required in dirty environment because wxX-common is
required to build wxX, but the headers are needed by downstream ports.

Change the bsd.wx.mk to include these headers along with the library.
(Fixes math/gnuplot)