On Wed, Jul 17, 2013 at 11:33:35AM +0200, Jörn Clausen wrote:
- The Makefile generated by tradcpp does not work with bmake. I was
able build graphics/xv by adding
USE_TOOLS+= gmake
and print/transfig by using
env IMAKEOPTS='-DMakeCmd=/usr/pkgsrc/20130422/bin/gmake' bmake
What issues are you seeing specifically? Note that the imake rules are
deep twisted maze of macros and some platforms like Linux were written
under the assumption that gmake is used. I fixed those case I was aware
of. I wouldn't be surprised if Solaris has similar cases.
- Installation of print/transfig fails, because tradcpp does only
define "__sun" but not "sun", so imake includes the wrong file
(svr4.cf instead of sun.cf). As a result, InstallCmd is "bsdinst"
(which is not present) instead of "install-sh".
David discussed this with me and I prefer the fix to not depend on "sun"
as that's one of those nice macros that get undefined all over the place
when cpp is used on non-sources, because it conflicts with normal
English.
Joerg