pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fix for net/samba package on Haiku



Hi,

On Mon, 21 Jul 2014 14:33:36 +0900, diger <admin%freenet59.ru@localhost> wrote:

This patch fixes an error when building net/samba on Haiku:

-----------------------------------------------------------------------
diff --git a/net/samba/Makefile b/net/samba/Makefile
index fda19d5..0a3b724 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -74,12 +74,16 @@ CONFIGURE_ARGS+=    --enable-merged-build=no
.include "../../net/samba/options.mk"
-PLIST_VARS+=           macosx
+PLIST_VARS+=           macosx haiku
.if ${OPSYS} == "Darwin"
 PLIST.macosx=          yes
 .endif
+.if ${OPSYS} == "Haiku"
+PLIST.haiku=           yes
+.endif
+
 .if ${_OPSYS_SHLIB_TYPE} == "dylib"
 PLIST_SUBST+=  LIBEXT=dylib
 SAMBA_LIBEXT=  dylib


diff --git a/net/samba/PLIST b/net/samba/PLIST
index 7ad147c..09e1a57 100644
--- a/net/samba/PLIST
+++ b/net/samba/PLIST
@@ -70,6 +70,7 @@ lib/samba/vfs/catia.${LIBEXT}
 lib/samba/vfs/crossrename.${LIBEXT}
 lib/samba/vfs/default_quota.${LIBEXT}
 ${PLIST.macosx}lib/samba/vfs/dirsort.${LIBEXT}
+${PLIST.haiku}lib/samba/vfs/dirsort.${LIBEXT}
 lib/samba/vfs/expand_msdfs.${LIBEXT}
 lib/samba/vfs/extd_audit.${LIBEXT}
 lib/samba/vfs/fake_perms.${LIBEXT}
@@ -88,6 +89,7 @@ lib/samba/vfs/smb_traffic_analyzer.${LIBEXT}
 lib/samba/vfs/streams_depot.${LIBEXT}
 lib/samba/vfs/streams_xattr.${LIBEXT}
 ${PLIST.macosx}lib/samba/vfs/syncops.${LIBEXT}
+${PLIST.haiku}lib/samba/vfs/syncops.${LIBEXT}
 lib/samba/vfs/time_audit.${LIBEXT}
 lib/samba/vfs/xattr_tdb.${LIBEXT}
 ${PLIST.pam}lib/security/pam_smbpass.${LIBEXT}
-----------------------------------------------------------------------------

Added PLIST.Haiku instead, same as SunOS and Linux (and also for Darwin).
Thanks!

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index