pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/libssh
Module Name: pkgsrc
Committed By: nia
Date: Mon Sep 29 21:24:23 UTC 2025
Modified Files:
pkgsrc/security/libssh: Makefile options.mk
Log Message:
libssh: Make building tests optional.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/security/libssh/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/libssh/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/security/libssh/Makefile
diff -u pkgsrc/security/libssh/Makefile:1.54 pkgsrc/security/libssh/Makefile:1.55
--- pkgsrc/security/libssh/Makefile:1.54 Thu May 1 18:19:22 2025
+++ pkgsrc/security/libssh/Makefile Mon Sep 29 21:24:22 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2025/05/01 18:19:22 tnn Exp $
+# $NetBSD: Makefile,v 1.55 2025/09/29 21:24:22 nia Exp $
#
# history: upstream renamed 0.11 to 0.1.1;
# we have to use the old-style convention so that version compares work.
@@ -20,7 +20,6 @@ USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= libssh.pc.cmake
TEST_TARGET= test
-CMAKE_CONFIGURE_ARGS+= -DUNIT_TESTING=ON
CMAKE_CONFIGURE_ARGS+= -DWITH_EXAMPLES=OFF
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
Index: pkgsrc/security/libssh/options.mk
diff -u pkgsrc/security/libssh/options.mk:1.7 pkgsrc/security/libssh/options.mk:1.8
--- pkgsrc/security/libssh/options.mk:1.7 Sun Aug 25 06:19:12 2024
+++ pkgsrc/security/libssh/options.mk Mon Sep 29 21:24:22 2025
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.7 2024/08/25 06:19:12 wiz Exp $
+# $NetBSD: options.mk,v 1.8 2025/09/29 21:24:22 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libssh
-PKG_SUPPORTED_OPTIONS= gssapi
+PKG_SUPPORTED_OPTIONS= gssapi tests
PKG_OPTIONS_REQUIRED_GROUPS= crypto
PKG_OPTIONS_GROUP.crypto= openssl libgcrypt
PKG_SUGGESTED_OPTIONS= gssapi openssl
@@ -25,3 +25,9 @@ BUILDLINK_API_DEPENDS.libgcrypt+= libgcr
CMAKE_CONFIGURE_ARGS+= -DWITH_GCRYPT:BOOL=ON
.include "../../security/libgcrypt/buildlink3.mk"
.endif
+
+.if !empty(PKG_OPTIONS:Mtests)
+CMAKE_CONFIGURE_ARGS+= -DUNIT_TESTING=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DUNIT_TESTING=OFF
+.endif
Home |
Main Index |
Thread Index |
Old Index