Hi,
The current Makefile (vcftools_0.1.12b/Makefile) isn't able to deal with a pre-defined PREFIX correctly, as there are copy operations that use PREFIX as a source dir.
eg: cp ${PREFIX}/cpp/vcftools.1 $(MANDIR)
I have attached a proposed patch that should deal with this.
Thank you for calling this to our attention. This patch has been applied to the current working version (v0.1.13) of vcftools.
The following patch still apllies fine to 0.1.13. Would you mind doing more cleanup?
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-biology/vcftools/files/vcftools-0.1.12b-buildsystem.patch?view=markup
It is needed to repects user environment setting with his/her own preferred compiler, compiler optimizations, etc. Quite a general improvement. Thanbk you.