A brief inspection of the gkrellm documentation reveals that there are different make targets for each operating systems. In particular the two which must be used to build the sources on fbsd are: make freebsd and make install_freebsd However the gkrellm ebuild provided by the portage tree is stricly Linux-centric, since it tries to build and install the package using the following commands, which are intended to be used on Linux: make and make install I modified the original ebuild to support the *bsd operating systems. The solution is based upon the app-arch/unzip ebuild (Thanks to Flameeyes for pointing me to that solution). However to complete a succefull merge on g/fbsd a small modification to src/Makefile is needed. Without this patch the configure script will fail to properly detect gnu-tls/ssl, due to some kind of "substitution/syntax" error (see the log attached) and this directly leads to compilation failure. The patch is also included in the fbsd gkrellm port. I tested it both on my Linux and my g/fbsd system without getting any errors/problems. Reproducible: Always
Created attachment 110346 [details, diff] src/Makefile patch
Created attachment 110347 [details] gkrellm-2.2.10 modified ebuild
Created attachment 110349 [details] src/configure (error) log when run without the previous patch
(In reply to comment #2) > Created an attachment (id=110347) [edit] > gkrellm-2.2.10 modified ebuild > Confermed that the ebuild and patch works (FreeBSD 6.2-RELEASE FreeBSD Gentoo 6.2)
Fixed, thanks