pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libvncserver



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Feb 20 12:21:34 UTC 2019

Modified Files:
        pkgsrc/net/libvncserver: Makefile options.mk

Log Message:
Fix build when security/cyrus-sasl is installed

Introduce sasl option (disabled by default) to inconsistent
detection of cyrus-sasl between CMAKE and CC.
Reported by NISHIMURA Takeshi.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/libvncserver/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/libvncserver/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libvncserver/Makefile
diff -u pkgsrc/net/libvncserver/Makefile:1.26 pkgsrc/net/libvncserver/Makefile:1.27
--- pkgsrc/net/libvncserver/Makefile:1.26       Fri Feb  1 12:45:21 2019
+++ pkgsrc/net/libvncserver/Makefile    Wed Feb 20 12:21:34 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2019/02/01 12:45:21 tnn Exp $
+# $NetBSD: Makefile,v 1.27 2019/02/20 12:21:34 ryoon Exp $
 #
 
 DISTNAME=              libvncserver-LibVNCServer-0.9.12
@@ -29,7 +29,6 @@ CMAKE_ARGS+=          -DWITH_THREADS=ON
 CMAKE_ARGS+=           -DWITH_TIGHTVNC_FILETRANSFER=ON
 CMAKE_ARGS+=           -DWITH_WEBSOCKETS=ON
 CMAKE_ARGS+=           -DWITH_24BPP=ON
-CMAKE_ARGS+=           -DWITH_SASL=ON
 CMAKE_ARGS+=           -DWITH_LZO=ON
 CMAKE_ARGS+=           -DWITH_ZLIB=ON
 CMAKE_ARGS+=           -DWITH_JPEG=ON

Index: pkgsrc/net/libvncserver/options.mk
diff -u pkgsrc/net/libvncserver/options.mk:1.2 pkgsrc/net/libvncserver/options.mk:1.3
--- pkgsrc/net/libvncserver/options.mk:1.2      Fri Feb  1 12:45:21 2019
+++ pkgsrc/net/libvncserver/options.mk  Wed Feb 20 12:21:34 2019
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2019/02/01 12:45:21 tnn Exp $
+# $NetBSD: options.mk,v 1.3 2019/02/20 12:21:34 ryoon Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libVNCServer
-PKG_SUPPORTED_OPTIONS= gnutls inet6 libgcrypt openssl
+PKG_SUPPORTED_OPTIONS= gnutls inet6 libgcrypt openssl sasl
 PKG_SUGGESTED_OPTIONS= gnutls inet6 libgcrypt
 PKG_OPTIONS_OPTIONAL_GROUPS+=  ssl
 PKG_OPTIONS_GROUP.ssl=         gnutls openssl
@@ -34,3 +34,10 @@ CMAKE_ARGS+= -DWITH_OPENSSL=ON
 .else
 CMAKE_ARGS+=   -DWITH_OPENSSL=OFF
 .endif
+
+.if !empty(PKG_OPTIONS:Msasl)
+.include "../../security/cyrus-sasl/buildlink3.mk"
+CMAKE_ARGS+=   -DWITH_SASL=ON
+.else
+CMAKE_ARGS+=   -DWITH_SASL=OFF
+.endif



Home | Main Index | Thread Index | Old Index