commit:     7a2cdbbee5b236e8ebda9ccec8d9a805d02d6a60
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  9 15:24:37 2021 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb  9 15:24:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2cdbbe

dev-db/timescaledb: Fix syntax

Fixes #769749

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 .../{timescaledb-2.0.1.ebuild => timescaledb-2.0.1-r1.ebuild}       | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-db/timescaledb/timescaledb-2.0.1.ebuild 
b/dev-db/timescaledb/timescaledb-2.0.1-r1.ebuild
similarity index 92%
rename from dev-db/timescaledb/timescaledb-2.0.1.ebuild
rename to dev-db/timescaledb/timescaledb-2.0.1-r1.ebuild
index 26e21a09813..9e97e6124c1 100644
--- a/dev-db/timescaledb/timescaledb-2.0.1.ebuild
+++ b/dev-db/timescaledb/timescaledb-2.0.1-r1.ebuild
@@ -36,8 +36,10 @@ timescale_configure() {
        local CMAKE_USE_DIR=$BUILD_DIR
        local mycmakeargs=( 
"-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" )
 
-       # licensing is tied to features, this useflag disables the non-apache2 
licensed bits"
-       use proprietary-extensions || mycmakeargs += "-DAPACHE_ONLY=ON"
+       # licensing is tied to features, this useflag disables the non-apache2 
licensed bits
+       if ! use proprietary-extensions ; then
+               mycmakeargs+=("-DAPACHE_ONLY=ON")
+       fi
        cmake_src_configure
 }
 

Reply via email to