summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-09 09:40:15 +0000
committernia <nia@pkgsrc.org>2020-12-09 09:40:15 +0000
commite37f5ecebce62316a9b8e6bbcd69e84e9f7b88f5 (patch)
tree04adbfcf10615fa33ceecfa539ec006d886c8a9f /net
parent1d4e68e3877ff05454899cac86d30e30f4e2b99c (diff)
downloadpkgsrc-e37f5ecebce62316a9b8e6bbcd69e84e9f7b88f5.tar.gz
libvncserver: Fix build of users with sasl enabled
Update options checking in buildlink3.mk to the style pkglint prefers.
Diffstat (limited to 'net')
-rw-r--r--net/libvncserver/buildlink3.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/net/libvncserver/buildlink3.mk b/net/libvncserver/buildlink3.mk
index a6ca2d63b9e..0f070d12a1d 100644
--- a/net/libvncserver/buildlink3.mk
+++ b/net/libvncserver/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2020/05/22 10:55:48 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2020/12/09 09:40:15 nia Exp $
BUILDLINK_TREE+= libVNCServer
@@ -17,18 +17,22 @@ BUILDLINK_PKGSRCDIR.libVNCServer?= ../../net/libvncserver
pkgbase := libVNCServer
.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.libVNCServer:Mgnutls)
+.if ${PKG_BUILD_OPTIONS.libVNCServer:Mgnutls}
.include "../../security/gnutls/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.libVNCServer:Mlibgcrypt)
+.if ${PKG_BUILD_OPTIONS.libVNCServer:Mlibgcrypt}
.include "../../security/libgcrypt/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.libVNCServer:Mopenssl)
+.if ${PKG_BUILD_OPTIONS.libVNCServer:Mopenssl}
.include "../../security/openssl/buildlink3.mk"
.endif
+.if ${PKG_BUILD_OPTIONS.libVNCServer:Msasl}
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.endif
+
.endif # LIBVNCSERVER_BUILDLINK3_MK
BUILDLINK_TREE+= -libVNCServer