Subject: [PATCH v2 3/9] gnu: libftdi: Do not build example programs.

From: Simon South <[email-masked]>
Date: Thu, 7 Sep 2023 12:37:52 -0400

* gnu/packages/libftdi.scm (libftdi)[arguments]: Add with "-DEXAMPLES"
configure flag.
---
 gnu/packages/libftdi.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm
index b881aa5cc2..74df12a354 100644
--- a/gnu/packages/libftdi.scm
+++ b/gnu/packages/libftdi.scm
@@ -20,6 +20,7 @@
 (define-module (gnu packages libftdi)
   #:use-module (guix build-system cmake)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (gnu packages)
@@ -38,6 +39,8 @@ (define-public libftdi
                (base32
                 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc"))))
     (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DEXAMPLES=OFF")))
     (propagated-inputs
      (list libusb))                     ; required by libftdi1.pc
     (home-page "https://www.intra2net.com/en/developer/libftdi/")
-- 
2.40.1