summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-08-16 05:48:31 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-08-16 05:48:31 +0000
commit7fd91d933b659b091033b4ed673ccdecfff85709 (patch)
treeb15dbcb698d59346d382380f10ca7890ba346b44 /sys-block
parentMask glib-2.36.4 until dependencies are there (diff)
downloadhistorical-7fd91d933b659b091033b4ed673ccdecfff85709.tar.gz
historical-7fd91d933b659b091033b4ed673ccdecfff85709.tar.bz2
historical-7fd91d933b659b091033b4ed673ccdecfff85709.zip
Add gcc version check #476910
Package-Manager: portage-2.2.0/cvs/Linux x86_64
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/thin-provisioning-tools/ChangeLog6
-rw-r--r--sys-block/thin-provisioning-tools/Manifest4
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild10
3 files changed, 15 insertions, 5 deletions
diff --git a/sys-block/thin-provisioning-tools/ChangeLog b/sys-block/thin-provisioning-tools/ChangeLog
index 915e356a356d..c67872887b06 100644
--- a/sys-block/thin-provisioning-tools/ChangeLog
+++ b/sys-block/thin-provisioning-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-block/thin-provisioning-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.19 2013/08/14 09:18:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.20 2013/08/16 05:48:22 patrick Exp $
+
+ 16 Aug 2013; Patrick Lauer <patrick@gentoo.org>
+ thin-provisioning-tools-0.2.1.ebuild:
+ Add gcc version check #476910
14 Aug 2013; Patrick Lauer <patrick@gentoo.org>
thin-provisioning-tools-0.2.1.ebuild:
diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest
index 7624313ecb33..1c8ae3101a3a 100644
--- a/sys-block/thin-provisioning-tools/Manifest
+++ b/sys-block/thin-provisioning-tools/Manifest
@@ -3,6 +3,6 @@ AUX thin-provisioning-tools-0.2.1-LDFLAGS.patch 2701 SHA256 3d31203b41665e414933
DIST thin-provisioning-tools-0.2.1.tar.gz 136785 SHA256 6e7e8dd49b338320db9e76b470ce4e59928ae3169cfd916e8185389412b13c19 SHA512 6258f7b0b777d150af1a30a8d83b36a7dd1da65c9cfc964dc6c7f33ec1d2418c871d0a88d42810addcb6b1ccc3a0dc2f4ed129235bd6e6e51df60a66770d0197 WHIRLPOOL 47eec4e357ea13b521bdbf7b3ed8218a0732ba92d01f150a654a0e6987ae09986108b807ea7623064aaf22a848ba591df4a1954b03060123606123350f25bd60
DIST thin-provisioning-tools-v0.1.5.tar.bz2 119902 SHA256 0464ae4253738a3d75605e4e54ccdebccfe8ffab94b464ea6912c333fe4a8b3f SHA512 d620c0190da0f4a151e42eb259d88e3489f62a314823a52021c368f39b9cb5ae1ffc5541f01901ccafd04a0e4a7ba85d38b721954ddf2035fd7af3ad20d783d1 WHIRLPOOL 698036d555c78d32b473e312c010143eb75a9d55a64ea1ccebb8d5ef128f8fc98823b176d7012b582b6520847c68af0eb47a2081e02f9b821780ebaecb7b6191
EBUILD thin-provisioning-tools-0.1.5-r1.ebuild 961 SHA256 0e9092f07645bd7cb10da71bfade18e6a145e2a70236a073c94f536fd5303e58 SHA512 06d7e68b9ed515943b4def972c100c06adc42c6df9d08d83556ddddeed328a05a10054e2bd82d6237ba581521c33d8bb7434dadd259d9bf1f65b75e2be3d8e6b WHIRLPOOL 381458b7f8e440ddd2c533623cae4b5f5e32293282cfd3c0c640908fea9c2eef0bdb5245475e5077ab4fade09571f5d6d319b62576b65576616972bb37b40288
-EBUILD thin-provisioning-tools-0.2.1.ebuild 1103 SHA256 800a8c060777522cef160f2e20f750af968d7d1398fd71f9a85d3a7480d79531 SHA512 7f692dd88314a297793f51c3a84d1428d26c66cd7150efb0852db7d59505155f922a7df4dd499b25c9687bf49b03042926a67eea0c5bb75c9a9fe13c117bc0fd WHIRLPOOL f06359c58e7221d960a4cb81eaf4aa3acf77561bf7baf0d5236d7c79a2ae17c54b26e4777c85535d455269625bc2da743c7f9ede1b18da2581ef2c02d0d9c380
-MISC ChangeLog 3119 SHA256 78ca1371dbd37b5ce7ef0aed4e5bd2395407c8f51672fe741c40e5c81130da59 SHA512 539ae57537fd06ae26114803b8da4146985d0960a7662d971bedb9e04a48ffb516bed535075c7c9f458ed4835656a1f29c64bfc36b0e58c6c60f68ba7b5f9feb WHIRLPOOL 957777a3cb72a3cbfaab928b1308fb8ae74e43b1e567920e911b69309c174b1747efaaa424b941155cc5713fc71e57ded6c3913b7806622ee789a54f1c0a3da5
+EBUILD thin-provisioning-tools-0.2.1.ebuild 1255 SHA256 9af6e700fbe67da08fdb2b72ae5cc6f8e4b285f87d45633974cc8fdaa1643da9 SHA512 6a6c9d9093888a610a9b107bd18a45b8d343a8b79242e050fb3f89650b7db5a98b577c41bab145147bde392cdca08f3936864e365565ad9048262a3620f6eea4 WHIRLPOOL 0ad8ea8bec717768bd881b65bdeed2aa168bc918f5358e69f30d0f0d7b1375ea2c177b26df319d298085bedd74bfc8d577fb39a29dcf081081295b3fd01055fd
+MISC ChangeLog 3242 SHA256 2f0461c7428d152d1f06e7e22077232b6ceb57c075c5cad22723b405e1e9f7e3 SHA512 699057634311e89232bba8980267821a17ff90f9d49f0c4af15b4b7001e51aac16f96cb9d67791afb9073d829c09050db8f3198922f02f6eb789c617fff99063 WHIRLPOOL c4d842a408903aa139d14ae8215c37d7b257ced1f65fa8bb04ec5962c9e649c2d1222f0950779e66566e14bc716a352ace29d09a815379a97db456fc605c722c
MISC metadata.xml 352 SHA256 5c0043176bb3aa5f86c10eda3e3aae3d71374de82b47f7cb07cc4e76337ad4c7 SHA512 8356301004ee2f61b15eb94aad63d7946af41d1171b9b95a4a4bbb1c1bba7670d70b47a81b2003ea80fbd6a7378c2eaedfe4369cfe5520e737324223546dd7e2 WHIRLPOOL b0f917ec1b54c8f3c20bdf6fc15d9d5f23273cf37b09a96f0d06ed315b22c7218ddd4b3523ec8b93ae70bb891202ed72b7fd53741c6ce72b6b4f216ea10dd884
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild
index 13edb4f173e2..8c1eaa7c7fbb 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild,v 1.2 2013/08/14 09:18:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.1.ebuild,v 1.3 2013/08/16 05:48:22 patrick Exp $
EAPI=5
-inherit eutils autotools
+inherit eutils autotools toolchain-funcs
DESCRIPTION="A suite of tools for thin provisioning on Linux."
HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
@@ -21,6 +21,12 @@ RDEPEND="dev-libs/expat
DEPEND="${RDEPEND}
dev-libs/boost"
+pkg_pretend() {
+ if [[ `gcc-version` < 4.7 ]]; then
+ die "Need gcc 4.7 or later to build, current version is `gcc-fullversion`"
+ fi
+}
+
src_prepare() {
epatch "${FILESDIR}"/${P}-LDFLAGS.patch
eautoreconf