* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/cssc/, dev-vcs/cssc/files/
@ 2019-05-08 14:10 Jeroen Roovers
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2019-05-08 14:10 UTC (permalink / raw
To: gentoo-commits
commit: 5264cb131174c09c1e8b0bac8b64fa12e84e8f0f
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed May 8 13:48:27 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed May 8 14:10:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5264cb13
dev-vcs/cssc: Version 1.4.1
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
dev-vcs/cssc/Manifest | 1 +
dev-vcs/cssc/cssc-1.4.1.ebuild | 44 ++++++++++++++++++++++++++++++++++
dev-vcs/cssc/files/cssc-1.4.1-m4.patch | 10 ++++++++
3 files changed, 55 insertions(+)
diff --git a/dev-vcs/cssc/Manifest b/dev-vcs/cssc/Manifest
index d86316f2d8c..f7424756d64 100644
--- a/dev-vcs/cssc/Manifest
+++ b/dev-vcs/cssc/Manifest
@@ -1 +1,2 @@
DIST CSSC-1.4.0.tar.gz 2012122 BLAKE2B c38bf9f50e372559c87d318780973a28fd2fec384cffd0c077c556b321f9f3e68324f59f26900e63c9235f30c564a60783c5a48b515b9b878977fe10266cd0be SHA512 7abb38ecfb5120e807d1f09d16ce81306b3eb16746e44da5029f626feba67dfb46db20bd2b89daffb2e3cdc51ffadc51cd666eef7d1b94e56b4c7dc24f93ea76
+DIST CSSC-1.4.1.tar.gz 2269725 BLAKE2B 264e996280ff23818332dda62d80adc61fd6a2e924af26a044168bf136c22b22bb591d37157030dbe8e2360a2687b0dcbf843f3af8683b08593fded4ef982739 SHA512 b843bd636b15830b2751c423ff2f2e7292e0942d750ca57425d9674b74c7291fe34db33cbbc4b87d27f80d3b54b0074207ceda612faa651b6f01486e0b2485d5
diff --git a/dev-vcs/cssc/cssc-1.4.1.ebuild b/dev-vcs/cssc/cssc-1.4.1.ebuild
new file mode 100644
index 00000000000..c2b8b544df5
--- /dev/null
+++ b/dev-vcs/cssc/cssc-1.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+CSSC_PN="${PN^^}"
+CSSC_P="${CSSC_PN}-${PV}"
+
+DESCRIPTION="The GNU Project's replacement for SCCS"
+SRC_URI="mirror://gnu/${PN}/${CSSC_P}.tar.gz"
+HOMEPAGE="https://www.gnu.org/software/cssc/"
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+IUSE="test valgrind"
+DEPEND="
+ test? ( valgrind? ( dev-util/valgrind ) )
+"
+DOCS=( AUTHORS ChangeLog NEWS README )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-m4.patch
+)
+S=${WORKDIR}/${CSSC_P}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use test && use_with valgrind) \
+ --enable-binary
+}
+
+src_test() {
+ if [[ ${UID} = 0 ]]; then
+ einfo "The test suite can not be run as root"
+ else
+ emake check
+ fi
+}
diff --git a/dev-vcs/cssc/files/cssc-1.4.1-m4.patch b/dev-vcs/cssc/files/cssc-1.4.1-m4.patch
new file mode 100644
index 00000000000..e30c5008a09
--- /dev/null
+++ b/dev-vcs/cssc/files/cssc-1.4.1-m4.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -33,7 +33,6 @@
+
+ # Changes to AC_CONFIG_MACRO_DIR shoulld be reflected in ACLOCAL_AMFLAGS in Makefile.am.
+ AC_CONFIG_MACRO_DIR([m4])
+-AC_CONFIG_MACRO_DIR([unit-tests/googletest/m4])
+ AC_SUBST(AUXDIR,$ac_aux_dir)
+ AM_INIT_AUTOMAKE([gnits readme-alpha check-news tar-ustar 1.11.6])
+ AC_CONFIG_HEADERS(config.h)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-08 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-08 14:10 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/cssc/, dev-vcs/cssc/files/ Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox