From b8c015cdf3c231a37a9abb01fff22b636346364b Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 5 Jun 2012 11:40:44 +0000 Subject: Respect CXX/LDFLAGS, #417969 Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64 --- sys-block/thin-provisioning-tools/ChangeLog | 7 +++++- sys-block/thin-provisioning-tools/Manifest | 16 +++++++++++-- ...ilesthin-provisioning-tools-0.1.5-LDFLAGS.patch | 28 ++++++++++++++++++++++ .../thin-provisioning-tools-0.1.5.ebuild | 9 +++++-- 4 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 sys-block/thin-provisioning-tools/filesthin-provisioning-tools-0.1.5-LDFLAGS.patch (limited to 'sys-block') 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 + 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 thin-provisioning-tools-0.1.5.ebuild: diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest index 67579fb5e59d..47e1fdc844c0 100644 --- a/sys-block/thin-provisioning-tools/Manifest +++ b/sys-block/thin-provisioning-tools/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + DIST thin-provisioning-tools-v0.1.5.tar.bz2 119902 RMD160 c43e63add1a8393becab3ea976adb45e8dfa7036 SHA1 35b445b110a87a95b398959cd0657d2194f62d8d SHA256 0464ae4253738a3d75605e4e54ccdebccfe8ffab94b464ea6912c333fe4a8b3f -EBUILD thin-provisioning-tools-0.1.5.ebuild 898 RMD160 dfd40b2ac27bc44ca07718193badd741b1cbf14d SHA1 ae8371186570e29daff13a2c53f6ab3f5a9167e3 SHA256 81d093ba472c1469de02dc31f3ac59db562cf4bcf31dc56c0cf1f35390298386 -MISC ChangeLog 606 RMD160 19ba6c5420b5184c5541e34676aea83da39016ac SHA1 4dcb9cf1d9650d33e5cdd19443154ebe01af17bc SHA256 f90f395db4ed9b88ae059b6cdbd591e4795398a0e188c9fe8752b420b9a1d18f +EBUILD thin-provisioning-tools-0.1.5.ebuild 981 RMD160 465a209d42f4f5a12058b740c20d3b4f7383058a SHA1 00b0433bb5a94bf966ae7beaad35eb8c230945f4 SHA256 d15a078813266e24926559d445ff58d395ae008fc0d796c2bba9bd047619a10d +MISC ChangeLog 775 RMD160 8b056fd8609923dbab3b30e5e77f77b58f6fce9d SHA1 8e098ab01ca029d7ad6acf17d0157ae29fe1ee47 SHA256 7e377a9594156faa78dd64d3c601a0346ec4d299c89384865207a881023b70cc +MISC filesthin-provisioning-tools-0.1.5-LDFLAGS.patch 1032 RMD160 d7172b987d11bd35c3bacbe4a9e955446f2aeaca SHA1 6fa289b50343f2b52b93959260ae4f64c3994ea8 SHA256 83f4549e16da2b9ee3959cafca8c984ce542d7519206c4309d0540ea8c4683c4 MISC metadata.xml 352 RMD160 99291dd9c7d98c2e6af4ec89eccdc3a80b8ca55f SHA1 2e0b4cbc8d03cbd52630947e712049b57469dbf4 SHA256 5c0043176bb3aa5f86c10eda3e3aae3d71374de82b47f7cb07cc4e76337ad4c7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) +Comment: GPGTools - http://gpgtools.org + +iEYEAREKAAYFAk/N8EEACgkQgAnW8HDreRapwACgxS47B+/7iKA8ZkKo45hLZJ3g +r0gAn3UUtk9GfRI64af0JvFSdt1F33Aw +=cWQJ +-----END PGP SIGNATURE----- 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() { -- cgit v1.2.3-65-gdbad