The smbd binary now lives under sbin/, and not under libexec/.

Noticed by jca@, thanks!
This commit is contained in:
zhuk 2015-12-23 10:31:43 +00:00
parent 2bd5dd42ef
commit 05323901f6
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.71 2015/11/02 11:56:54 espie Exp $
# $OpenBSD: Makefile,v 1.72 2015/12/23 10:31:43 zhuk Exp $
COMMENT-main = KDE core libraries
COMMENT-en_US = KDE en_US locale data
COMMENT-langlist = list of languages supported by KDE
CATEGORIES = devel
V = 4.14.10
REVISION-main = 1
REVISION-main = 2
DISTNAME = kdelibs-$V
PKGNAME-main = ${DISTNAME}
PKGNAME-en_US = kde4-locale-en_US-$V

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-kio_kio_ksambashare_cpp,v 1.1 2014/01/26 07:02:18 zhuk Exp $
$OpenBSD: patch-kio_kio_ksambashare_cpp,v 1.2 2015/12/23 10:31:43 zhuk Exp $
Allow to detect Samba presence. Should fine better way before
sending the patch upstream.
--- kio/kio/ksambashare.cpp.orig Sun Jan 26 06:51:21 2014
@ -7,7 +7,7 @@ sending the patch upstream.
bool KSambaSharePrivate::isSambaInstalled()
{
if (QFile::exists("/usr/sbin/smbd")
+ || QFile::exists("${LOCALBASE}/libexec/smbd")
+ || QFile::exists("${LOCALBASE}/sbin/smbd")
|| QFile::exists("/usr/local/sbin/smbd")) {
return true;
}