pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libvncserver libvncserver: Fix build of users with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85a764693b7a
branches:  trunk
changeset: 443212:85a764693b7a
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Dec 09 09:40:15 2020 +0000

description:
libvncserver: Fix build of users with sasl enabled

Update options checking in buildlink3.mk to the style pkglint prefers.

diffstat:

 net/libvncserver/buildlink3.mk |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 986500f6a066 -r 85a764693b7a net/libvncserver/buildlink3.mk
--- a/net/libvncserver/buildlink3.mk    Wed Dec 09 09:30:56 2020 +0000
+++ b/net/libvncserver/buildlink3.mk    Wed Dec 09 09:40:15 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index