commit:     13ac8eed853cd51e285eabb75dadd68bc7d33c0b
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 14:17:11 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 14:21:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ac8eed

dev-libs/paho-mqtt-c: add 'examples' USE flag

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild 
b/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
index a7d86494e837..6396acb6fad5 100644
--- a/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
+++ b/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 LICENSE="EPL-2.0"
 SLOT="1.3"
 KEYWORDS="~amd64 ~x86"
-IUSE="+high-performance +ssl doc test"
+IUSE="examples +high-performance +ssl doc test"
 
 BDEPEND="
        doc? ( app-doc/doxygen
@@ -55,6 +55,7 @@ src_configure(){
                -DPAHO_HIGH_PERFORMANCE="$(usex high-performance "TRUE" 
"FALSE")"
                -DPAHO_WITH_SSL="$(usex ssl "TRUE" "FALSE")"
                -DPAHO_BUILD_DOCUMENTATION="$(usex doc "TRUE" "FALSE")"
+               -DPAHO_BUILD_SAMPLES="$(usex examples "TRUE" "FALSE")"
                -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
        )
        cmake_src_configure

Reply via email to