Catch Samba libraries not written as lib/samba/ as well as Qt and others.

This commit is contained in:
zhuk 2013-12-29 16:59:06 +00:00
parent 14fda10df2
commit 12b19d3aa2

View File

@ -1,6 +1,6 @@
#!/bin/ksh
#
# $OpenBSD: portcheck,v 1.56 2013/12/29 07:07:25 zhuk Exp $
# $OpenBSD: portcheck,v 1.57 2013/12/29 16:59:06 zhuk Exp $
# Copyright (c) 2013 Vadim Zhukov
#
# Permission to use, copy, modify, and distribute this software for any
@ -1103,6 +1103,11 @@ check_wantlib() {
"in WANTLIB"
;;
@(smbclient|wbclient)?(?('>')=+([0-9])))
err "$portref$v instead of lib/samba/$v" \
"in WANTLIB"
;;
DCOP?(?('>')=+([0-9])))
err "$portref$v instead of \${KDE}/$v" \
"in WANTLIB (check other libs, too!)"