diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /mail-client/evolution | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'mail-client/evolution')
-rw-r--r-- | mail-client/evolution/Manifest | 11 | ||||
-rw-r--r-- | mail-client/evolution/evolution-3.36.5.ebuild | 154 | ||||
-rw-r--r-- | mail-client/evolution/evolution-3.38.2.ebuild | 152 | ||||
-rw-r--r-- | mail-client/evolution/evolution-3.38.4.ebuild | 4 | ||||
-rw-r--r-- | mail-client/evolution/evolution-3.40.0.ebuild (renamed from mail-client/evolution/evolution-3.38.3.ebuild) | 4 | ||||
-rw-r--r-- | mail-client/evolution/files/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch | 75 |
6 files changed, 85 insertions, 315 deletions
diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest index cda8de9a76aa..84c2d1890dd2 100644 --- a/mail-client/evolution/Manifest +++ b/mail-client/evolution/Manifest @@ -1,9 +1,6 @@ -DIST evolution-3.36.5.tar.xz 12137312 BLAKE2B dcd7785fabeda0b8daeadcf5858ac6ae9d11fa21ef4ff3f7b880f0b0c22ff2e8ba6dd25ef983ddf7d6c7c0d060613fea8f0f01a67b0641159cff908d0b2c8c9d SHA512 4f3a7e891f6e0bb8f3d44f838ecf0f373ad1133f465af3a0ab68e9ec9220e67025dc4e657c73bb8c212d958669e5285050234fb43b6bf0596bcd662de1ef9fd0 -DIST evolution-3.38.2.tar.xz 12159172 BLAKE2B 9690428c05f985a73c2ae4d02a1d6fcc71aa02a6d10b8dec938ed65c48bde0e0c873bd0e65040ec90c0136346d76989a0758f59e29eb8526b6953fecaf11177e SHA512 30d40e9e8934afa2a8b602bccf740a055423892cc435b54e2cb116d0a8f24a369975f90a253da0c3554fd315a378c014a26c5b85af5b588c2afd9e8ad4698f3e -DIST evolution-3.38.3.tar.xz 12159492 BLAKE2B 95fab6e01ae357437c834bc3651a5d599523004e9ca33ab07c552b99dd4119f0ec4cadea11a2e51ecfe61b2329454a866a211f99d35d912690288651f51134c8 SHA512 aaf30f95485939b3715803a46b484fd72d1a2e3d02a2cc0aabea1ee56a20babcea47804badb52219cecb2806c1ebf711ffb14f36918619fb62bf16a031623508 +AUX 3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch 2612 BLAKE2B f13ce141ff1d8001419f1cecb0dbd67c9426415de604f2607a7626fdcc859bd94b5e87934356cec4c8e98a107b38050258e8d8c9a9de15a1128914b124660d26 SHA512 677cba47dbaffc7e4eccf915984d33ae8353d07da53e8b01ae6b5144d2bd7298f2f350221525f91b8233f25afda2c120dfbd6e7d785a2efbca031e21ee933f61 DIST evolution-3.38.4.tar.xz 12165500 BLAKE2B 0f60774fab861bb5999a5cbafa04de96e02b01092f257f0bd31d13eafb31c89b17994d0d013ee80b40e7b1af37ad8966c4a93379d138488a63280ca24062edba SHA512 b27f5e495d039a0a274ec2e68654abec64ea9cf81fe9a46b3a460a49325b1dcbe86ab1a7bbd9912254406c8faddc115b7a59a736dec42e1ca641edcc340743a8 -EBUILD evolution-3.36.5.ebuild 4369 BLAKE2B bde99ca123b65c59f2a990a4143b878951dc029798842696c138d99d3691f4ba653ccd06fe89d5ddbf53287849397d9a61c6c310fb5b56b502ce96776032bb83 SHA512 f6245aa174e4a8cc20d3b330ab3cc49a45fd5e25dd12502f190ec48c3fc7b442c3a580133f314f41b6e8176a83ce99f483f9a0cd7f1e083d36b3f8e1ba0feaa4 -EBUILD evolution-3.38.2.ebuild 4168 BLAKE2B 7d8d15474ddbeb25f537b08e8f4b6b2c912396f237ac0385cf706a28e5440b7a63958362c8fcdbd7aac92c3bc55169fa638cc9bb12ff4c372469d05799ca9729 SHA512 bc007c937dfe6b69afb8f90630f8a00afde0e92df3175a5549506bffe4e16b401d842219ccc9e1a0a087aac366e0e137b7a936f61ef21bc54a77b7dd0607c35b -EBUILD evolution-3.38.3.ebuild 4176 BLAKE2B b36bfa565223b60fce12875c4cb20c4ccd26c4a9fe64920904423542face265afca3251d96df7b30b9255f38c7da0a16411074e7244d0bb7425313796a3adcf6 SHA512 c8eace659a40e443d1f99b31bcabe74edb7f9182bab1aa4ecd9c02bb64d2f6d9856593d42121eb564139a4bf5b71a770514ce87ade0ce601e09e65ab9270ecab -EBUILD evolution-3.38.4.ebuild 4175 BLAKE2B d8097ae83d80169313285881ec862575735eb7eb9bb717c170d6de0e1239579fa4ddfccfe680019423278670bfca0e1081b3fdf380d1c609f76c8260929edc4a SHA512 fcf09dfcad9244b7300e171d39afd5d6c5f87d7dcd4852ef576f9b173c5805e418a6c5d7ced28f871e0c4df748567d5200aa4747b78c40915c08b7d343d0a994 +DIST evolution-3.40.0.tar.xz 12215660 BLAKE2B fb60c2dd45cae22d8095cf0f7a0f4691816f3a5a3417b9bf3af2a6171f86d63b32bf8efd3a57fb665f22c6a07491d25fa685c60c198a1ddd50533b5ef18ae626 SHA512 9d672143213e5b37a15b8667b0c6cc6d6217cff981569fa937309839926607e3ef1f39743a5a1cf9ab2a181413fed85c4b36bb4dbf21dee492753d17d7f88548 +EBUILD evolution-3.38.4.ebuild 4261 BLAKE2B 4243992127d42fcfab3ee3ebb681c6d533524058c0df34193114d498dc9500e3a74794784a392f52fa17e666d947263ec565041f7c822271c5f0a3df4078279a SHA512 a519e6a61aa62ae684b98e8aa49da6addab5f546ddc196df657b8e4da5ee5b8b3010259bc33a8b1e3a75a5e1a79606064d3f499730f03f6233d13f6b35aa62cb +EBUILD evolution-3.40.0.ebuild 4263 BLAKE2B 4b2c9ea5f66a9be30a69df8064ec774dce2ae21905b950dc6880d494c5074b32eafe997b0ff082bfb123e8398dfcab470dee1b6931642023d9f5d32baac1f8e0 SHA512 54a237d3d15086617925b38ed7fddc1a72a38ae1b72cd62fe16f65ddefcabcbdf056bff68eeb57b5b126d79da33e7914e3ceab398b174ba2d8ab08abbed0e80f MISC metadata.xml 1077 BLAKE2B b13424249bbf1c221b3d0981de923917fe7fd873666626104f28a528bd44a40011202b397992a32ed62886c7b637160ae61d4a323d37248c222d3b179b2cccf1 SHA512 0308a366fd296da924b5ab466d90acb4bd18b868769d06726bd7de94d92d88ac70d97c1eb8ce99ad493d45c528d0fd6d222b2eb9880cdac48d05859d1ec7709c diff --git a/mail-client/evolution/evolution-3.36.5.ebuild b/mail-client/evolution/evolution-3.36.5.ebuild deleted file mode 100644 index 96216bd78f26..000000000000 --- a/mail-client/evolution/evolution-3.36.5.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils gnome2 flag-o-matic readme.gentoo-r1 - -DESCRIPTION="Integrated mail, addressbook and calendaring functionality" -HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" - -# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". -LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP" -SLOT="2.0" - -IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef" - -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - -# glade-3 support is for maintainers only per configure.ac -# pst is not mature enough and changes API/ABI frequently -# dconf explicitely needed for backup plugin -# gnome-desktop support is optional with --enable-gnome-desktop -# automagic libunity dep -# >=webkit-gtk-2.26.4-r1 and >=gspell-1.8 to ensure all use enchant:2 -# TODO: Adjust webkit-gtk dep to actually be that once it's keyworded for needed arches -COMMON_DEPEND=" - >=app-crypt/gcr-3.4:=[gtk] - >=app-text/enchant-2.2.0:2 - >=dev-libs/glib-2.46:2[dbus] - >=dev-libs/libxml2-2.7.3:2 - >=gnome-base/gnome-desktop-2.91.3:3= - >=gnome-base/gsettings-desktop-schemas-2.91.92 - >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?] - >=media-libs/libcanberra-0.25[gtk3] - >=net-libs/libsoup-2.42:2.4 - >=net-libs/webkit-gtk-2.24.0:4 - >=x11-libs/cairo-1.9.15:=[glib] - >=x11-libs/gdk-pixbuf-2.24:2 - >=x11-libs/gtk+-3.22:3 - >=x11-libs/libnotify-0.7:= - >=x11-misc/shared-mime-info-0.22 - - >=app-text/iso-codes-0.49 - dev-libs/atk - gnome-base/dconf - x11-libs/libSM - x11-libs/libICE - - archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] ) - bogofilter? ( mail-filter/bogofilter ) - geolocation? ( - >=media-libs/libchamplain-0.12:0.12[gtk] - >=media-libs/clutter-1.0.0:1.0 - >=media-libs/clutter-gtk-0.90:1.0 - >=sci-geosciences/geocode-glib-3.10.0 - x11-libs/mx:1.0 ) - ldap? ( >=net-nds/openldap-2:= ) - spamassassin? ( mail-filter/spamassassin ) - spell? ( >=app-text/gspell-1.8:= ) - ssl? ( - >=dev-libs/nspr-4.6.1:= - >=dev-libs/nss-3.11:= ) - weather? ( >=dev-libs/libgweather-3.10:2= ) - ytnef? ( net-mail/ytnef ) -" -DEPEND="${COMMON_DEPEND} - app-text/docbook-xml-dtd:4.1.2 - dev-util/gdbus-codegen - dev-util/glib-utils - dev-util/itstool - gtk-doc? ( dev-util/gtk-doc - app-text/docbook-xml-dtd:4.3 ) - >=dev-util/intltool-0.40.0 - >=sys-devel/gettext-0.18.3 - virtual/pkgconfig -" -RDEPEND="${COMMON_DEPEND} - highlight? ( app-text/highlight ) - !gnome-extra/evolution-exchange -" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="To change the default browser if you are not using GNOME, edit -~/.local/share/applications/mimeapps.list so it includes the -following content: - -[Default Applications] -x-scheme-handler/http=firefox.desktop -x-scheme-handler/https=firefox.desktop - -(replace firefox.desktop with the name of the appropriate .desktop -file from /usr/share/applications if you use a different browser)." - -# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare -# call; if needed, set them after cmake-utils_src_prepare call, if that works - -src_prepare() { - cmake-utils_src_prepare - gnome2_src_prepare -} - -src_configure() { - # Use NSS/NSPR only if 'ssl' is enabled. - local mycmakeargs=( - -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc - -DENABLE_SCHEMAS_COMPILE=OFF - -DENABLE_GTK_DOC=$(usex gtk-doc) - -DWITH_OPENLDAP=$(usex ldap) - -DENABLE_SMIME=$(usex ssl) - -DENABLE_GNOME_DESKTOP=ON - -DWITH_ENCHANT_VERSION=2 - -DENABLE_CANBERRA=ON - -DENABLE_AUTOAR=$(usex archive) - -DWITH_HELP=ON - -DENABLE_YTNEF=OFF - -DWITH_BOGOFILTER=$(usex bogofilter) - -DWITH_SPAMASSASSIN=$(usex spamassassin) - -DENABLE_GSPELL=$(usex spell) - -DENABLE_TEXT_HIGHLIGHT=$(usex highlight) - -DENABLE_WEATHER=$(usex weather) - -DENABLE_CONTACT_MAPS=$(usex geolocation) - -DENABLE_YTNEF=$(usex ytnef) - -DENABLE_PST_IMPORT=OFF - -DWITH_GLADE_CATALOG=OFF - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_test() { - cmake-utils_src_test -} - -src_install() { - cmake-utils_src_install - - # Problems with prelink: - # https://bugzilla.gnome.org/show_bug.cgi?id=731680 - # https://bugzilla.gnome.org/show_bug.cgi?id=732148 - # https://bugzilla.redhat.com/show_bug.cgi?id=1114538 - echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN} - doenvd "${T}"/99${PN} - - readme.gentoo_create_doc -} - -pkg_postinst() { - gnome2_pkg_postinst - readme.gentoo_print_elog -} diff --git a/mail-client/evolution/evolution-3.38.2.ebuild b/mail-client/evolution/evolution-3.38.2.ebuild deleted file mode 100644 index 06c1fa5bac67..000000000000 --- a/mail-client/evolution/evolution-3.38.2.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake gnome2 flag-o-matic readme.gentoo-r1 - -DESCRIPTION="Integrated mail, addressbook and calendaring functionality" -HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" - -# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". -LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP" -SLOT="2.0" - -IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef" - -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -# glade-3 support is for maintainers only per configure.ac -# pst is not mature enough and changes API/ABI frequently -# dconf explicitely needed for backup plugin -# gnome-desktop support is optional with --enable-gnome-desktop -# automagic libunity dep -# >=gspell-1.8 to ensure it uses enchant:2 like webkit-gtk -DEPEND=" - >=app-crypt/gcr-3.4:=[gtk] - >=app-text/enchant-2.2.0:2 - >=dev-libs/glib-2.46:2[dbus] - >=dev-libs/libxml2-2.7.3:2 - >=gnome-base/gnome-desktop-2.91.3:3= - >=gnome-base/gsettings-desktop-schemas-2.91.92 - >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?] - >=media-libs/libcanberra-0.25[gtk3] - >=net-libs/libsoup-2.42:2.4 - >=net-libs/webkit-gtk-2.28.0:4 - >=x11-libs/cairo-1.9.15:=[glib] - >=x11-libs/gdk-pixbuf-2.24:2 - >=x11-libs/gtk+-3.22:3 - >=x11-libs/libnotify-0.7:= - >=x11-misc/shared-mime-info-0.22 - - >=app-text/iso-codes-0.49 - dev-libs/atk - gnome-base/dconf - x11-libs/libSM - x11-libs/libICE - - archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] ) - bogofilter? ( mail-filter/bogofilter ) - geolocation? ( - >=media-libs/libchamplain-0.12:0.12[gtk] - >=media-libs/clutter-1.0.0:1.0 - >=media-libs/clutter-gtk-0.90:1.0 - >=sci-geosciences/geocode-glib-3.10.0 - x11-libs/mx:1.0 ) - ldap? ( >=net-nds/openldap-2:= ) - spamassassin? ( mail-filter/spamassassin ) - spell? ( >=app-text/gspell-1.8:= ) - ssl? ( - >=dev-libs/nspr-4.6.1:= - >=dev-libs/nss-3.11:= ) - weather? ( >=dev-libs/libgweather-3.10:2= ) - ytnef? ( net-mail/ytnef ) -" -RDEPEND="${DEPEND} - highlight? ( app-text/highlight ) -" -BDEPEND=" - app-text/docbook-xml-dtd:4.1.2 - dev-util/gdbus-codegen - dev-util/glib-utils - dev-util/itstool - gtk-doc? ( dev-util/gtk-doc - app-text/docbook-xml-dtd:4.3 ) - >=dev-util/intltool-0.40.0 - >=sys-devel/gettext-0.18.3 - virtual/pkgconfig -" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="To change the default browser if you are not using GNOME, edit -~/.local/share/applications/mimeapps.list so it includes the -following content: - -[Default Applications] -x-scheme-handler/http=firefox.desktop -x-scheme-handler/https=firefox.desktop - -(replace firefox.desktop with the name of the appropriate .desktop -file from /usr/share/applications if you use a different browser)." - -# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare -# call; if needed, set them after cmake_src_prepare call, if that works - -src_prepare() { - cmake_src_prepare - gnome2_src_prepare -} - -src_configure() { - # Use NSS/NSPR only if 'ssl' is enabled. - local mycmakeargs=( - -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc - -DENABLE_SCHEMAS_COMPILE=OFF - -DENABLE_GTK_DOC=$(usex gtk-doc) - -DWITH_OPENLDAP=$(usex ldap) - -DENABLE_SMIME=$(usex ssl) - -DENABLE_GNOME_DESKTOP=ON - -DWITH_ENCHANT_VERSION=2 - -DENABLE_CANBERRA=ON - -DENABLE_AUTOAR=$(usex archive) - -DWITH_HELP=ON - -DENABLE_YTNEF=OFF - -DWITH_BOGOFILTER=$(usex bogofilter) - -DWITH_SPAMASSASSIN=$(usex spamassassin) - -DENABLE_GSPELL=$(usex spell) - -DENABLE_TEXT_HIGHLIGHT=$(usex highlight) - -DENABLE_WEATHER=$(usex weather) - -DENABLE_CONTACT_MAPS=$(usex geolocation) - -DENABLE_YTNEF=$(usex ytnef) - -DENABLE_PST_IMPORT=OFF - -DWITH_GLADE_CATALOG=OFF - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_test() { - cmake_src_test -} - -src_install() { - cmake_src_install - - # Problems with prelink: - # https://bugzilla.gnome.org/show_bug.cgi?id=731680 - # https://bugzilla.gnome.org/show_bug.cgi?id=732148 - # https://bugzilla.redhat.com/show_bug.cgi?id=1114538 - echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN} - doenvd "${T}"/99${PN} - - readme.gentoo_create_doc -} - -pkg_postinst() { - gnome2_pkg_postinst - readme.gentoo_print_elog -} diff --git a/mail-client/evolution/evolution-3.38.4.ebuild b/mail-client/evolution/evolution-3.38.4.ebuild index b1f4dd674f38..3dbfedc6526c 100644 --- a/mail-client/evolution/evolution-3.38.4.ebuild +++ b/mail-client/evolution/evolution-3.38.4.ebuild @@ -14,7 +14,7 @@ SLOT="2.0" IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" # glade-3 support is for maintainers only per configure.ac # pst is not mature enough and changes API/ABI frequently @@ -95,6 +95,8 @@ file from /usr/share/applications if you use a different browser)." src_prepare() { cmake_src_prepare gnome2_src_prepare + + eapply "${FILESDIR}"/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch } src_configure() { diff --git a/mail-client/evolution/evolution-3.38.3.ebuild b/mail-client/evolution/evolution-3.40.0.ebuild index d84609add550..481df3906619 100644 --- a/mail-client/evolution/evolution-3.38.3.ebuild +++ b/mail-client/evolution/evolution-3.40.0.ebuild @@ -25,7 +25,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" DEPEND=" >=app-crypt/gcr-3.4:=[gtk] >=app-text/enchant-2.2.0:2 - >=dev-libs/glib-2.46:2[dbus] + >=dev-libs/glib-2.56:2[dbus] >=dev-libs/libxml2-2.7.3:2 >=gnome-base/gnome-desktop-2.91.3:3= >=gnome-base/gsettings-desktop-schemas-2.91.92 @@ -95,6 +95,8 @@ file from /usr/share/applications if you use a different browser)." src_prepare() { cmake_src_prepare gnome2_src_prepare + + eapply "${FILESDIR}"/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch } src_configure() { diff --git a/mail-client/evolution/files/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch b/mail-client/evolution/files/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch new file mode 100644 index 000000000000..f7e8855bbe08 --- /dev/null +++ b/mail-client/evolution/files/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch @@ -0,0 +1,75 @@ +From 7cfe4190e3e72b40472d57871459f1b136393003 Mon Sep 17 00:00:00 2001 +From: Milan Crha <mcrha@redhat.com> +Date: Wed, 14 Apr 2021 16:58:08 +0200 +Subject: [PATCH] PrintableOptions.cmake: Correct variable name comparison + +CMake 3.20.1 errors out with: + +CMake Error at cmake/modules/PrintableOptions.cmake:38 (message): + variable name cannot be empty + Call Stack (most recent call first): + CMakeLists.txt:152 (add_printable_variable) + +Change how the parameter value is compared, to fix it. +--- + cmake/modules/PrintableOptions.cmake | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/cmake/modules/PrintableOptions.cmake b/cmake/modules/PrintableOptions.cmake +index ba1c9d0b7f..339f1da4b4 100644 +--- a/cmake/modules/PrintableOptions.cmake ++++ b/cmake/modules/PrintableOptions.cmake +@@ -19,40 +19,40 @@ + # prints all the build options previously added with the above functions + + macro(add_printable_variable_bare _name) +- if(_name STREQUAL "") ++ if("${_name}" STREQUAL "") + message(FATAL_ERROR "variable name cannot be empty") +- endif(_name STREQUAL "") ++ endif("${_name}" STREQUAL "") + list(APPEND _printable_options ${_name}) + endmacro() + + macro(add_printable_option _name _description _default_value) +- if(_name STREQUAL "") ++ if("${_name}" STREQUAL "") + message(FATAL_ERROR "option name cannot be empty") +- endif(_name STREQUAL "") ++ endif("${_name}" STREQUAL "") + option(${_name} ${_description} ${_default_value}) + add_printable_variable_bare(${_name}) + endmacro() + + macro(add_printable_variable _name _description _default_value) +- if(_name STREQUAL "") ++ if("${_name}" STREQUAL "") + message(FATAL_ERROR "variable name cannot be empty") +- endif(_name STREQUAL "") ++ endif("${_name}" STREQUAL "") + set(${_name} ${_default_value} CACHE STRING ${_description}) + add_printable_variable_bare(${_name}) + endmacro() + + macro(add_printable_variable_path _name _description _default_value) +- if(_name STREQUAL "") ++ if("${_name}" STREQUAL "") + message(FATAL_ERROR "path variable name cannot be empty") +- endif(_name STREQUAL "") ++ endif("${_name}" STREQUAL "") + set(${_name} ${_default_value} CACHE PATH ${_description}) + add_printable_variable_bare(${_name}) + endmacro() + + macro(add_printable_variable_filepath _name _description _default_value) +- if(_name STREQUAL "") ++ if("${_name}" STREQUAL "") + message(FATAL_ERROR "filepath variable name cannot be empty") +- endif(_name STREQUAL "") ++ endif("${_name}" STREQUAL "") + set(${_name} ${_default_value} CACHE FILEPATH ${_description}) + add_printable_variable_bare(${_name}) + endmacro() +-- +2.26.3 + |