summaryrefslogtreecommitdiff
path: root/dev-vcs/rcsi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-vcs/rcsi
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-vcs/rcsi')
-rw-r--r--dev-vcs/rcsi/Manifest3
-rw-r--r--dev-vcs/rcsi/files/rcsi-0.5-makefile.patch12
-rw-r--r--dev-vcs/rcsi/rcsi-0.5.ebuild19
3 files changed, 25 insertions, 9 deletions
diff --git a/dev-vcs/rcsi/Manifest b/dev-vcs/rcsi/Manifest
index 26914810c44d..e7d96f8429af 100644
--- a/dev-vcs/rcsi/Manifest
+++ b/dev-vcs/rcsi/Manifest
@@ -1,3 +1,4 @@
+AUX rcsi-0.5-makefile.patch 248 BLAKE2B e344c466a4c20a9f2a94e7d856f646be8437a35124091fe3194e9a455c700178bd6ed6d979bece9d025a9c64bc4987891c5bda352b942cb6d05310de3561b581 SHA512 43c197d9d33c001c5810c1706020ce91004b751ed8b88e7256291836120a948539471408dfbbdf2a595daee6f5243f6129f196f00223bb2a1df5df9b5cbac951
DIST rcsi-0.5.tar.gz 68705 BLAKE2B 7ed066463d65ad60056114f15b069667365c222c6389f7301916f609b557a3a36a198be8520dcf614481083988ee06d0bffc2a72df55196b00bb8cf1463363f5 SHA512 4b9cf2bc9232fdad45461de1f2eca06958a26f2cfd1bb823be465102a152f31405aa611da922be5ebd9c83ff6efa62784fe9954563dee980befe1acd9c032f72
-EBUILD rcsi-0.5.ebuild 658 BLAKE2B 6434ee29cfffe468d9d3a615273472b5ed4c0ffbd6954f295d5e1a5c56b907967d99a4d6cd6b876e3c35034e270877734be3be8b193864d874933c8d4cd0c6c5 SHA512 041bd1d29a1e40d436c80f2cf9b8faa463014e4937eb172f568972b7f70a1566605b25ea79d6c8455ea22371beeece64ccaba02ab7ce1a311ecd345c7026ec47
+EBUILD rcsi-0.5.ebuild 634 BLAKE2B 166ed3a8c0372d418ce500c3bffe15482f1b73df94af86710fe6b29e6d96ed2d15389d8f3ff633b1e637a978c8ac25d7b03b596ccb26455c814cf6126a60432c SHA512 fd87d31ece48a79be2f3d59b15de37172877096a5aa27a8b67441b4ae5820be8d26429cf2d5dc8b43cbfd48e7b2c6b67d1ad8e3265ab07b33fc9251357c09a05
MISC metadata.xml 216 BLAKE2B 20531789dc11e43feee7ec315a0c1c7249fdf73764e29cb7d6db439826e9ff72f24a5cdb8eb7f1ab99bbb41fb6e4226874a1d1fa4185de52598602bb3b0479a3 SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd
diff --git a/dev-vcs/rcsi/files/rcsi-0.5-makefile.patch b/dev-vcs/rcsi/files/rcsi-0.5-makefile.patch
new file mode 100644
index 000000000000..bf5a3d329ee2
--- /dev/null
+++ b/dev-vcs/rcsi/files/rcsi-0.5-makefile.patch
@@ -0,0 +1,12 @@
+--- a/Makefile
++++ b/Makefile
+@@ -38,9 +38,6 @@
+ # Later ones are for the various architectures that I have
+ # successfully tested 'rcsi' on.
+
+-rcsi : rcsi.c
+- gcc -Wall -O2 -Xlinker -s -o rcsi rcsi.c
+-
+ sunos : rcsi
+
+ solaris irix osf1 : rcsi.c
diff --git a/dev-vcs/rcsi/rcsi-0.5.ebuild b/dev-vcs/rcsi/rcsi-0.5.ebuild
index cd4a10ad87e1..72d00168b457 100644
--- a/dev-vcs/rcsi/rcsi-0.5.ebuild
+++ b/dev-vcs/rcsi/rcsi-0.5.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
+
inherit toolchain-funcs
DESCRIPTION="A program to give information about RCS files"
@@ -11,20 +12,22 @@ SRC_URI="http://www.colinbrough.pwp.blueyonder.co.uk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-DEPEND="sys-apps/sed"
RDEPEND=">=dev-vcs/rcs-5.7-r2"
S=${WORKDIR}/${PN}
-src_compile() {
- $(tc-getCC) $CFLAGS $LDFLAGS rcsi.c -o rcsi || die "Compile failed"
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_configure() {
+ tc-export CC
}
src_install() {
dobin rcsi
- doman rcsi.1
+
dodoc README
- dohtml README.html example{1,2}.png
+ docinto html
+ dodoc README.html example{1,2}.png
+ doman rcsi.1
}