Created attachment 432240 [details, diff] Patch to remove dependency on smbclient use flag The package has the following problems when trying to use it with samba-4: * It depends on a no longer existing use-flag 'smbclient' for net-fs/samba * The Makefile.PL fails to pick up the include directory for libsmbclient.h * The package doesn't compile due to problematic configure checks I'll attach (rather small) patches for all three problems.
Created attachment 432242 [details, diff] patch Makefile.pl to use pkg-config
Created attachment 432244 [details, diff] patch configure.in to reverse detection logic This is larger than it needs to be because I've included the pregenerated configure script. Maybe this can be generated on the fly?
Created attachment 432246 [details, diff] ebuild:Remove smbclient dependency, include patches, run autoconf
Created attachment 432248 [details, diff] patch configure.in to reverse detection logic
Created attachment 432250 [details, diff] patch Makefile.pl to use pkg-config
commit 7e57da211cb9455800ad9963c41d1429b3606fd3 (HEAD -> master, origin/master, origin/HEAD) Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Wed Jan 4 10:57:10 2017 +0100 dev-perl/Filesys-SmbClient: Make it build with samba-4, bug 581338 Thanks to Dennis Lichtenthäler Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0-r2.ebuild | 34 ++++++++++++++++++++++++++++++++++ dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-close_fn.patch | 18 ++++++++++++++++++ dev-perl/Filesys-SmbClient/files/Filesys-SmbClient-3.200.0-pkg_config.patch | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+)