summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-05 11:40:44 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-05 11:40:44 +0000
commit3e7a10c9b9808d7e6b1d2d25ca964573347ae983 (patch)
tree7cf8fcb7f943f70c14fcb78861a9aa34d970960a /sys-block/thin-provisioning-tools
parentNew version supporting multiple gles implementations (diff)
downloadgentoo-2-3e7a10c9b9808d7e6b1d2d25ca964573347ae983.tar.gz
gentoo-2-3e7a10c9b9808d7e6b1d2d25ca964573347ae983.tar.bz2
gentoo-2-3e7a10c9b9808d7e6b1d2d25ca964573347ae983.zip
Respect CXX/LDFLAGS, #417969
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/thin-provisioning-tools')
-rw-r--r--sys-block/thin-provisioning-tools/ChangeLog7
-rw-r--r--sys-block/thin-provisioning-tools/filesthin-provisioning-tools-0.1.5-LDFLAGS.patch28
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5.ebuild9
3 files changed, 41 insertions, 3 deletions
diff --git a/sys-block/thin-provisioning-tools/ChangeLog b/sys-block/thin-provisioning-tools/ChangeLog
index a1275a12817f..8ae7c4614044 100644
--- a/sys-block/thin-provisioning-tools/ChangeLog
+++ b/sys-block/thin-provisioning-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/thin-provisioning-tools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.2 2012/05/27 18:02:44 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.3 2012/06/05 11:40:44 jlec Exp $
+
+ 05 Jun 2012; Justin Lecher <jlec@gentoo.org>
+ thin-provisioning-tools-0.1.5.ebuild,
+ +filesthin-provisioning-tools-0.1.5-LDFLAGS.patch:
+ Respect CXX/LDFLAGS, #417969
27 May 2012; Robin H. Johnson <robbat2@gentoo.org>
thin-provisioning-tools-0.1.5.ebuild:
diff --git a/sys-block/thin-provisioning-tools/filesthin-provisioning-tools-0.1.5-LDFLAGS.patch b/sys-block/thin-provisioning-tools/filesthin-provisioning-tools-0.1.5-LDFLAGS.patch
new file mode 100644
index 000000000000..0f0d16a976a8
--- /dev/null
+++ b/sys-block/thin-provisioning-tools/filesthin-provisioning-tools-0.1.5-LDFLAGS.patch
@@ -0,0 +1,28 @@
+ Makefile.in | 8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 315b28e..3d19ef3 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -109,16 +109,16 @@ THIN_RESTORE_OBJECTS=$(subst .cc,.o,$(THIN_RESTORE_SOURCE))
+ THIN_CHECK_OBJECTS=$(subst .cc,.o,$(THIN_CHECK_SOURCE))
+
+ thin_debug: $(THIN_DEBUG_OBJECTS) thin_debug.o
+- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
+
+ thin_dump: $(THIN_DUMP_OBJECTS) thin_dump.o
+- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
+
+ thin_restore: $(THIN_RESTORE_OBJECTS) thin_restore.o
+- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
+
+ thin_check: $(THIN_CHECK_OBJECTS) thin_check.o
+- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS)
+
+ clean:
+ $(RM) *.o unit-tests/*.o *.d unit-tests/*.d $(TEST_PROGRAMS) $(PROGRAMS)
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5.ebuild
index c1dd85b4a15f..b46b02b026ba 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 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.1.5.ebuild,v 1.2 2012/05/27 18:02:44 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5.ebuild,v 1.3 2012/06/05 11:40:44 jlec Exp $
EAPI=4
@@ -22,10 +22,15 @@ RDEPEND="dev-libs/expat"
DEPEND="${RDEPEND}
dev-libs/boost"
+src_prepare() {
+ epatch "${FILESDIR}"${P}-LDFLAGS.patch
+}
+
src_configure() {
econf \
--prefix="${EPREFIX}/" \
- --bindir="${EPREFIX}/sbin"
+ --bindir="${EPREFIX}/sbin" \
+ --with-optimisation=""
}
src_install() {