summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-08-06 20:14:49 +0000
committerJeroen Roovers <jer@gentoo.org>2014-08-06 20:14:49 +0000
commitd78540d73518751f7677cec9e3b1fbc82e2dec9b (patch)
treec54be61e12bdb05ac7221600818da8626327c44f /sys-apps
parentAdd SRC_URI arrow (bug #519214 by Casper Ti. Vector). (diff)
downloadhistorical-d78540d73518751f7677cec9e3b1fbc82e2dec9b.tar.gz
historical-d78540d73518751f7677cec9e3b1fbc82e2dec9b.tar.bz2
historical-d78540d73518751f7677cec9e3b1fbc82e2dec9b.zip
Respect CC, LDFLAGS. Fix building against sys-libs/ncurses[tinfo].
Package-Manager: portage-2.2.11-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/cv/ChangeLog5
-rw-r--r--sys-apps/cv/Manifest10
-rw-r--r--sys-apps/cv/cv-0.4.1.ebuild17
3 files changed, 22 insertions, 10 deletions
diff --git a/sys-apps/cv/ChangeLog b/sys-apps/cv/ChangeLog
index bb8dae88ff1f..f3f10e4f2144 100644
--- a/sys-apps/cv/ChangeLog
+++ b/sys-apps/cv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/cv
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cv/ChangeLog,v 1.2 2014/08/06 20:09:13 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cv/ChangeLog,v 1.3 2014/08/06 20:14:48 jer Exp $
+
+ 06 Aug 2014; Jeroen Roovers <jer@gentoo.org> cv-0.4.1.ebuild:
+ Respect CC, LDFLAGS. Fix building against sys-libs/ncurses[tinfo].
06 Aug 2014; Jeroen Roovers <jer@gentoo.org> cv-0.4.1.ebuild:
Add SRC_URI arrow (bug #519214 by Casper Ti. Vector).
diff --git a/sys-apps/cv/Manifest b/sys-apps/cv/Manifest
index 9df9d16cd13b..dd5dfcc8b912 100644
--- a/sys-apps/cv/Manifest
+++ b/sys-apps/cv/Manifest
@@ -2,13 +2,13 @@
Hash: SHA256
DIST cv-0.4.1.tar.gz 53682 SHA256 e7537b363662060a55e1a59b78a124e76b54c3b64f0bd62c35fd3cb34c725aa9 SHA512 eb64cc44a834805209f93d23f61b270d670f1f2e535a3dbed84bdb9cbb27cec9e077abb1138c8557436baa021d2d7661132c56eae04a36f0a83b3e7a116de7d4 WHIRLPOOL c496d21287b90101720d11ca5b816878e9578f646cf846d0fd3c641d27edf2afb885a6c068850fd10ce629b856afbd15d7703da433f53c74042bc20c3e7a0e4b
-EBUILD cv-0.4.1.ebuild 616 SHA256 62cbd15b4dbe79818a45763616be736b9d38f4bdf0bf16a349033c51b0e6ccab SHA512 79ef96a58dfbdeb2b42fbceddcce39516c6ea21eb6386fdc97cdfd7a6cf99123e42b606fcf6b6726d4fc9454be47a89d99b55f646e3a9a4a79ba48ac358e32e1 WHIRLPOOL c64af92d3d600c65922df3f9e2be187ff7d2701db34f153560a8e07269eb3c305970b40ce96da4c3b2b4c60a9e24883c8543457558eb2e6b0312cdc734f371b8
-MISC ChangeLog 444 SHA256 3a91f12f973b8a6f4ede681f7dd136cb43f70551ab7d793fb88db3b4edab7519 SHA512 edf4c64e67e202dde9c9451ac575fd5d90d039a4fa9184be780a301374f88209f7cf3fa258296c007c3f4abbbb8db6cf2be4817f6d4382730e68035be0c9913b WHIRLPOOL 080c32a8b83ce75fc25cf221e4ab684b024e52ac95e45cdfade2107ccf9da81299953de63847dd2faac679c630a31996aeb2aa44a97b0e3edac05208b2258fd5
+EBUILD cv-0.4.1.ebuild 801 SHA256 dbdfc939f8cc8df1e576ad24215e9ccff019f7e3af3ff7d28e31b018ff0c21f6 SHA512 e700a8858a11d153bc762281f0c1ecbad4a7a236e05f2cc292c02de3305348342d3884e7aa4968247ca038ca3a1aeb4a2a81c51a37c0e3fc73da49acecee8871 WHIRLPOOL 79e928ae16f7f8789d7699cb144f23f939fca6fa0ac96de405db197f7c0a69a70c37e4ef4e559b77508e784e3ae4ed1c322fb5f0e4eba7c9bd0c9616b8a173c7
+MISC ChangeLog 578 SHA256 d0245527291d8efd479673d04352e715976b93d6a5aae061bf2bc9bf9b7c643e SHA512 93cc57564ab86d95d5d25d9623e27b4168d3e6a740d23892d176c8c7b3644d2d2866fed57adf3dcd7388a55530eb829310e66627adb317a221b683ced9ea6f2c WHIRLPOOL 3c62a1ac7df47bfe5115feaeeee5091324a0224872abf9455e770e52172f9a25f01520f22490c8b0e53d50af513049af21b6c5d145aff2364cf23e40b2742297
MISC metadata.xml 242 SHA256 dc60fc506f60d6edbf250878d394388804d263cdcdee74cf36b51abac7df6da2 SHA512 fbf8b425510eb7fbfa0f478b4c2e6d73ab050331bfd156004fe43bf5c19cceeca3f43f7156f9cf03ae37e530cad8fab19efa0e1071a599e2eee812785e7c2236 WHIRLPOOL 16510f5c44c1cdd793039dd8acfccde600036f065a7cdd83d81d0b72ad5fafaebf159f9796066381735b16652461d2bb4b8f0582c41516906ce288384fabe2da
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlPii2sACgkQVWmRsqeSphNdpwCfTiQEXupb18e2drBuu7Mv0GaH
-VnAAnAl0jX45/K5CltlS0uvzz3x2SSqq
-=+uSA
+iEYEAREIAAYFAlPijLkACgkQVWmRsqeSphPGCQCdFzHDv2Z30mR/jHI6P2ZcHyaS
+VWcAn0GhspiGxa/Za4CqVprMSKzoZoCk
+=Clp3
-----END PGP SIGNATURE-----
diff --git a/sys-apps/cv/cv-0.4.1.ebuild b/sys-apps/cv/cv-0.4.1.ebuild
index 241479003b9e..026c6e1e81ed 100644
--- a/sys-apps/cv/cv-0.4.1.ebuild
+++ b/sys-apps/cv/cv-0.4.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cv/cv-0.4.1.ebuild,v 1.2 2014/08/06 20:09:13 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cv/cv-0.4.1.ebuild,v 1.3 2014/08/06 20:14:48 jer Exp $
EAPI=5
+inherit toolchain-funcs
DESCRIPTION="Coreutils Viewer: show progress for cp, rm, dd, and so forth"
HOMEPAGE="https://github.com/Xfennec/cv"
@@ -12,11 +13,19 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
src_prepare() {
- sed -i 's/CFLAGS=-g/CFLAGS+=/' Makefile || die
+ sed -i \
+ -e '/LFLAGS/s:-lncurses:$(LDFLAGS) $(shell $(PKG_CONFIG) --libs ncurses):' \
+ -e 's:CFLAGS=-g:CFLAGS+=:' \
+ -e 's:gcc:$(CC):g' \
+ Makefile || die
+ tc-export CC PKG_CONFIG
}
src_install() {