summaryrefslogtreecommitdiff
path: root/net/p5-Filesys-SmbClient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Filesys-SmbClient/Makefile')
-rw-r--r--net/p5-Filesys-SmbClient/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/p5-Filesys-SmbClient/Makefile b/net/p5-Filesys-SmbClient/Makefile
index 0aadbc63f0ea..9d800a4804ea 100644
--- a/net/p5-Filesys-SmbClient/Makefile
+++ b/net/p5-Filesys-SmbClient/Makefile
@@ -11,14 +11,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Interface for access Samba filesystem with libsmclient.so
-LIB_DEPENDS= libsmbclient.so:net/samba-libsmbclient
+BROKEN= no member named close in struct _SMBCCTX
+
BUILD_DEPENDS= p5-Test-Simple>=0:devel/p5-Test-Simple
-USES= perl5
+USES= perl5 samba:lib
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -i '' -e 's!%%LOCALBASE%%!${LOCALBASE}!g' \
+ -e 's!%%SAMBAINCLUDES%%!${SAMBAINCLUDES}!g' \
+ -e 's!%%SAMBALIBS%%!${SAMBALIBS}!g' \
${WRKSRC}/Makefile.PL
post-install: