public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/
@ 2016-12-23  8:46 Lars Wendler
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler @ 2016-12-23  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     d8d6ce47307d9a92b733066cee0736c6f76f58f9
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 23 08:45:56 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Dec 23 08:46:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d6ce47

dev-libs/check: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/check/Manifest                            |  1 -
 dev-libs/check/check-0.9.8-r1.ebuild               | 52 ----------------------
 dev-libs/check/files/check-0.9.6-64bitsafe.patch   | 13 ------
 .../check/files/check-0.9.6-AM_PATH_CHECK.patch    | 12 -----
 4 files changed, 78 deletions(-)

diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest
index d4c4512..27406d3 100644
--- a/dev-libs/check/Manifest
+++ b/dev-libs/check/Manifest
@@ -2,4 +2,3 @@ DIST check-0.10.0-github.tar.gz 257887 SHA256 38daf46cc8bf9081d63970b6ea371e8462
 DIST check-0.10.0.tar.gz 769119 SHA256 f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5 WHIRLPOOL d3399a2500a4a1f6fa8865fe75af67e98a22587edd2525d144f4f403dd313cc59b7622cd77cfd885b9e3dfd737e2bef5366d28062b2975c882ffac6253b02b29
 DIST check-0.11.0-github.tar.gz 275579 SHA256 df18bb72ba31eed2e06c21dd97402174500a211645e4b3748e9e277551acc97d SHA512 829adee2a5793dda6ac88162e355268019dd82e7a8ad95f1287bd262c3a7764425fba6a8347f1aeebdad642a972043b70aa59d54c87b3c46e1b5b569290dc359 WHIRLPOOL a37225f70a27bf78e6d6d1eb27596f9778ef809aaee834d0a75de407daa160d8c98ab6aaebc98fa18dddf332a0d110faff073c62dc37f037ed7923ea6507b563
 DIST check-0.9.11.tar.gz 691146 SHA256 ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936 SHA512 10883709463b76f6650197db989c348d9d07ccaa2cacc0bd6bd177bbcc1e9e0d88746c2e110e620ab18c23cb5f41b95797d60d77de279af1a810a42b355b742e WHIRLPOOL 9559104a68b2f1215e9b00affb4711a69bf3e4e94e0ec894de66f0f77b5637187bb183560e29d0a889ff04d0e07f2785fc407128dee1ba74d584ce9a0ff9a3b1
-DIST check-0.9.8.tar.gz 558943 SHA256 82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f SHA512 a8ef659411c18f8af77006a51fe14741b990e7486c3e5c1e97cd2a100a603483ba9854c2f23bd9a5e834e133ca0dcc3ae15f41856339ab3b82a75ad769a872a2 WHIRLPOOL fdc06bd44f041153f655c577c55825afb2d2b79ff066427cd224b5a6d351f9da076d39807f434d2e22e1b6b54c6bc774744c8210dc318e493b9241bb5d7ded84

diff --git a/dev-libs/check/check-0.9.8-r1.ebuild b/dev-libs/check/check-0.9.8-r1.ebuild
deleted file mode 100644
index 42200c5..00000000
--- a/dev-libs/check/check-0.9.8-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit autotools autotools-utils eutils
-
-DESCRIPTION="A unit test framework for C"
-HOMEPAGE="https://sourceforge.net/projects/check/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="static-libs subunit"
-
-DEPEND="subunit? ( dev-python/subunit )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	epatch \
-		"${FILESDIR}"/${PN}-0.9.6-AM_PATH_CHECK.patch \
-		"${FILESDIR}"/${PN}-0.9.6-64bitsafe.patch
-
-	sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
-
-	# fix out-of-sourcedir build having inconsistent check.h files, for
-	# example breaks USE=subunit.
-	rm src/check.h || die
-
-	# Fix automake warnings being treated as errors, bug #420373
-	sed -i -e s/-Werror// configure.ac || die
-
-	eautoreconf
-}
-
-src_configure() {
-	local myeconfargs=(
-		--disable-dependency-tracking
-		$(use_enable subunit)
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-	)
-	autotools-utils_src_configure
-}
-
-src_install() {
-	autotools-utils_src_install
-	dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
-
-	rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
-	find "${ED}" -name '*.la' -exec rm -f {} + || die
-}

diff --git a/dev-libs/check/files/check-0.9.6-64bitsafe.patch b/dev-libs/check/files/check-0.9.6-64bitsafe.patch
deleted file mode 100644
index ec73ed6..00000000
--- a/dev-libs/check/files/check-0.9.6-64bitsafe.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: check-0.9.6/configure.ac
-===================================================================
---- check-0.9.6.orig/configure.ac
-+++ check-0.9.6/configure.ac
-@@ -17,6 +17,8 @@ AC_CONFIG_AUX_DIR([build-aux])
- # really severe build strictness
- AM_INIT_AUTOMAKE([-Wall -Werror gnits 1.9.6])
- 
-+AC_USE_SYSTEM_EXTENSIONS
-+
- # FIXME: find the other places this stuff is used
- 
- CHECK_MAJOR_VERSION=0

diff --git a/dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch b/dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch
deleted file mode 100644
index 7bb3061..00000000
--- a/dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur check-0.9.5-orig/doc/example/configure.ac check-0.9.5/doc/example/configure.ac
---- check-0.9.5-orig/doc/example/configure.ac	2006-11-21 17:19:14.000000000 -0600
-+++ check-0.9.5/doc/example/configure.ac	2008-12-04 21:45:13.000000000 -0600
-@@ -25,7 +25,7 @@
- # CHECK_LIBS accordingly.  
- #  AM_PATH_CHECK([MINIMUM-VERSION,
- #                [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
--AM_PATH_CHECK()
-+PKG_CHECK_MODULES([check], [], [])
- 
- # Checks for header files.
- AC_HEADER_STDC


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/
@ 2020-02-02  8:08 Joonas Niilola
  0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2020-02-02  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     37cad266778683a94016f0f77877464f248af6c4
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 07:55:23 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 08:08:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cad266

dev-libs/check: bump to 0.14.0

Closes: https://bugs.gentoo.org/603234
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/check/Manifest                           |  1 +
 dev-libs/check/check-0.14.0.ebuild                | 66 +++++++++++++++++++++++
 dev-libs/check/files/check-0.14-xfail-tests.patch | 13 +++++
 3 files changed, 80 insertions(+)

diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest
index 1a02283e0aa..9171a0811f9 100644
--- a/dev-libs/check/Manifest
+++ b/dev-libs/check/Manifest
@@ -1,3 +1,4 @@
 DIST check-0.10.0.tar.gz 769119 BLAKE2B d5e256bef4aa010322844ce748e620ce884658d74b14e1ea5b0e1bbd4565ef7b0cb7b86d315a36f7a5e4d225e40f242ff9730790bd55fc036757b4296396d153 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5
 DIST check-0.12.0-github.tar.gz 281127 BLAKE2B d7dc89c10022594a37e9a4bc6b9fe1e8f355af864a5012c292cc3f1152e9e3e9be01fa34b39e5168f65650e540f36dbc8195952908a871d1c111283429f2f538 SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90
 DIST check-0.13.0.tar.gz 301386 BLAKE2B fbc79ad9f0bacd7c7461cde631a499d92e004233b5d35ba35cb0791195362e12fc21ca059e2019280cbf256215528af239de988755e0183cb6e332a5b145624e SHA512 7943021c5bc3b5ca7bc552f6fe1287e384724d69e5bb128d58256692e810b194e506fc1b65ea4fed27d065e2176e7371483e918beb48125abfe3b6f1ca68eb8f
+DIST check-0.14.0.tar.gz 303471 BLAKE2B d602bb56d205eccf06e4177e3f6d3f7270c3a0cba0e1d397480f0409a916ec4118c48340ad6f6a8955ea30d9e22252ff8381a687d000c3f8e62828cf656f1245 SHA512 54ad175c00cf0c73b4386cf6b3d6a404a5da4f57897d099e772f148f410108c44767c3266a940113be73a6861b3f3ee1706c558cc71ec51df99687f19f3a3bb4

diff --git a/dev-libs/check/check-0.14.0.ebuild b/dev-libs/check/check-0.14.0.ebuild
new file mode 100644
index 00000000000..c1de319b23d
--- /dev/null
+++ b/dev-libs/check/check-0.14.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="https://libcheck.github.io/check/"
+SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs subunit test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+	sys-apps/texinfo"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=(
+	"${FILESDIR}"/check-0.12.0-fp.patch
+	"${FILESDIR}"/check-0.14-xfail-tests.patch
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+multilib_src_configure() {
+	local myeconfargs=(
+		--disable-dependency-tracking
+		$(use_enable doc build-docs)
+		$(use_enable subunit)
+		$(use_enable test timeout-tests)
+	)
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+	default
+}
+
+src_compile() {
+	if use doc; then
+		cd doc/ || die "Failed to switch directories."
+		doxygen "." || die "Failed to run doxygen to generate docs."
+	fi
+}
+
+multilib_src_test() {
+	# Note: test-phase takes a long time.
+	emake -k check
+}
+
+multilib_src_install_all() {
+	use doc && local HTML_DOCS=( doc/html/. )
+	default
+
+	rm -r "${ED}/usr/share/doc/check/" || die "Failed to remove COPYING* files"
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}

diff --git a/dev-libs/check/files/check-0.14-xfail-tests.patch b/dev-libs/check/files/check-0.14-xfail-tests.patch
new file mode 100644
index 00000000000..ea2ffe10aa4
--- /dev/null
+++ b/dev-libs/check/files/check-0.14-xfail-tests.patch
@@ -0,0 +1,13 @@
+--- a/tests/Makefile.am	2020-02-02 09:33:17.807391927 +0200
++++ b/tests/Makefile.am.1	2020-02-02 09:34:01.267166205 +0200
+@@ -19,6 +19,10 @@
+ # XFAIL_TESTS = \
+ # 	check_thread_stress
+ 
++XFAIL_TESTS = \
++    check_check_export	\
++    check_check
++
+ noinst_PROGRAMS =		\
+ 	check_check_export	\
+ 	check_check		\


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/
@ 2020-03-21  8:53 Joonas Niilola
  0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2020-03-21  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     6c5026b88f869f521d85d6a130982c2e92f63e75
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 21 08:52:58 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 21 08:53:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5026b8

dev-libs/check: migrate to CMake, "fix" tests, revbump 0.14.0

Bug: https://bugs.gentoo.org/711390
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/check/check-0.14.0-r1.ebuild              | 50 ++++++++++++++++++++++
 .../check-0.14.0-r1-disable-automagic-dep.patch    | 23 ++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/check/check-0.14.0-r1.ebuild b/dev-libs/check/check-0.14.0-r1.ebuild
new file mode 100644
index 00000000000..ff085a62e15
--- /dev/null
+++ b/dev-libs/check/check-0.14.0-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="https://libcheck.github.io/check/"
+SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc subunit test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+	sys-apps/texinfo"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=( "${FILESDIR}/check-0.14.0-r1-disable-automagic-dep.patch" )
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DCHECK_ENABLE_TESTS=$(usex test ON OFF)
+		-DCHECK_ENABLE_SUBUNIT=$(usex subunit 1 0)
+	)
+
+	cmake_src_configure
+}
+
+multilib_src_compile() {
+	cmake_src_compile
+
+	if use doc && multilib_is_native_abi; then
+		cd "${S}"/doc/ || die "Failed to switch directories."
+		doxygen "." || die "Failed to run doxygen to generate docs."
+	fi
+}
+
+multilib_src_install_all() {
+	use doc && local HTML_DOCS=( "${S}"/doc/html/. )
+	einstalldocs
+
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}

diff --git a/dev-libs/check/files/check-0.14.0-r1-disable-automagic-dep.patch b/dev-libs/check/files/check-0.14.0-r1-disable-automagic-dep.patch
new file mode 100644
index 00000000000..a79a7bcccdd
--- /dev/null
+++ b/dev-libs/check/files/check-0.14.0-r1-disable-automagic-dep.patch
@@ -0,0 +1,23 @@
+--- a/CMakeLists.txt	2020-03-21 09:42:30.411037664 +0200
++++ b/CMakeLists.txt	2020-03-21 09:49:12.358161439 +0200
+@@ -365,15 +365,16 @@
+   ADD_DEFINITIONS(-DHAVE_LIBRT=1)
+ endif (HAVE_LIBRT)
+
+-check_library_exists(subunit subunit_test_start "" HAVE_SUBUNIT)
+-if (HAVE_SUBUNIT)
++option(CHECK_ENABLE_SUBUNIT "Enable subunit support" ON)
++if (CHECK_ENABLE_SUBUNIT EQUAL 1)
+   set(SUBUNIT "subunit")
+   set(ENABLE_SUBUNIT 1)
++  set(HAVE_SUBUNIT 1)
+   add_definitions(-DENABLE_SUBUNIT=1)
+-else(HAVE_SUBUNIT)
++else(CHECK_ENABLE_SUBUNIT EQUAL 0)
+   set(ENABLE_SUBUNIT 0)
+   add_definitions(-DENABLE_SUBUNIT=0)
+-endif (HAVE_SUBUNIT)
++endif (CHECK_ENABLE_SUBUNIT)
+
+ ###############################################################################
+ # Generate "config.h" from "cmake/config.h.in"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/
@ 2020-03-23 13:14 Joonas Niilola
  0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2020-03-23 13:14 UTC (permalink / raw
  To: gentoo-commits

commit:     d3efafeaa44070379d2c8d68ae976e061d921c8b
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 23 13:12:38 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 23 13:13:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3efafea

dev-libs/check: remove faulty 0.14.0-r1

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/check/check-0.14.0-r1.ebuild              | 50 ----------------------
 .../check-0.14.0-r1-disable-automagic-dep.patch    | 23 ----------
 2 files changed, 73 deletions(-)

diff --git a/dev-libs/check/check-0.14.0-r1.ebuild b/dev-libs/check/check-0.14.0-r1.ebuild
deleted file mode 100644
index ff085a62e15..00000000000
--- a/dev-libs/check/check-0.14.0-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib
-
-DESCRIPTION="A unit test framework for C"
-HOMEPAGE="https://libcheck.github.io/check/"
-SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc subunit test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-	sys-apps/texinfo"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-PATCHES=( "${FILESDIR}/check-0.14.0-r1-disable-automagic-dep.patch" )
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DCHECK_ENABLE_TESTS=$(usex test ON OFF)
-		-DCHECK_ENABLE_SUBUNIT=$(usex subunit 1 0)
-	)
-
-	cmake_src_configure
-}
-
-multilib_src_compile() {
-	cmake_src_compile
-
-	if use doc && multilib_is_native_abi; then
-		cd "${S}"/doc/ || die "Failed to switch directories."
-		doxygen "." || die "Failed to run doxygen to generate docs."
-	fi
-}
-
-multilib_src_install_all() {
-	use doc && local HTML_DOCS=( "${S}"/doc/html/. )
-	einstalldocs
-
-	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}

diff --git a/dev-libs/check/files/check-0.14.0-r1-disable-automagic-dep.patch b/dev-libs/check/files/check-0.14.0-r1-disable-automagic-dep.patch
deleted file mode 100644
index a79a7bcccdd..00000000000
--- a/dev-libs/check/files/check-0.14.0-r1-disable-automagic-dep.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/CMakeLists.txt	2020-03-21 09:42:30.411037664 +0200
-+++ b/CMakeLists.txt	2020-03-21 09:49:12.358161439 +0200
-@@ -365,15 +365,16 @@
-   ADD_DEFINITIONS(-DHAVE_LIBRT=1)
- endif (HAVE_LIBRT)
-
--check_library_exists(subunit subunit_test_start "" HAVE_SUBUNIT)
--if (HAVE_SUBUNIT)
-+option(CHECK_ENABLE_SUBUNIT "Enable subunit support" ON)
-+if (CHECK_ENABLE_SUBUNIT EQUAL 1)
-   set(SUBUNIT "subunit")
-   set(ENABLE_SUBUNIT 1)
-+  set(HAVE_SUBUNIT 1)
-   add_definitions(-DENABLE_SUBUNIT=1)
--else(HAVE_SUBUNIT)
-+else(CHECK_ENABLE_SUBUNIT EQUAL 0)
-   set(ENABLE_SUBUNIT 0)
-   add_definitions(-DENABLE_SUBUNIT=0)
--endif (HAVE_SUBUNIT)
-+endif (CHECK_ENABLE_SUBUNIT)
-
- ###############################################################################
- # Generate "config.h" from "cmake/config.h.in"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-23 14:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-02  8:08 [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2020-03-23 13:14 Joonas Niilola
2020-03-21  8:53 Joonas Niilola
2016-12-23  8:46 Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox