summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-19 12:45:12 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-19 12:52:47 +0000
commit45812b2834d5a1b6ed6c81fbb857c57f61a8ef96 (patch)
tree4e3e387fd7b1bb9393e440434c2790c828ef6b08 /dev-haskell
parentmedia-plugins/gst-plugins-meta: Stable for HPPA (bug #601354). (diff)
downloadgentoo-45812b2834d5a1b6ed6c81fbb857c57f61a8ef96.tar.gz
gentoo-45812b2834d5a1b6ed6c81fbb857c57f61a8ef96.tar.bz2
gentoo-45812b2834d5a1b6ed6c81fbb857c57f61a8ef96.zip
dev-haskell/network: don't persist LDFLAGS into package db, bug #609624
Reported-by: Helmut Jarausch Bug: https://bugs.gentoo.org/609624 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/network/files/network-2.6.3.1-no-LDFLAGS.patch11
-rw-r--r--dev-haskell/network/network-2.6.3.1-r1.ebuild (renamed from dev-haskell/network/network-2.6.3.1.ebuild)4
2 files changed, 14 insertions, 1 deletions
diff --git a/dev-haskell/network/files/network-2.6.3.1-no-LDFLAGS.patch b/dev-haskell/network/files/network-2.6.3.1-no-LDFLAGS.patch
new file mode 100644
index 000000000000..eeb41c960c7b
--- /dev/null
+++ b/dev-haskell/network/files/network-2.6.3.1-no-LDFLAGS.patch
@@ -0,0 +1,11 @@
+Don't persist LDFLAGS into package database.
+
+https://bugs.gentoo.org/609624
+diff --git a/network.buildinfo.in b/network.buildinfo.in
+index 69e63a6..2079179 100644
+--- a/network.buildinfo.in
++++ b/network.buildinfo.in
+@@ -2,3 +2,2 @@ ghc-options: -DCALLCONV=@CALLCONV@ @EXTRA_CPPFLAGS@
+ ghc-prof-options: -DCALLCONV=@CALLCONV@ @EXTRA_CPPFLAGS@
+-ld-options: @LDFLAGS@
+ cc-options: -DCALLCONV=@CALLCONV@ @EXTRA_CPPFLAGS@
diff --git a/dev-haskell/network/network-2.6.3.1.ebuild b/dev-haskell/network/network-2.6.3.1-r1.ebuild
index 5eead440fd91..355651bbf3ad 100644
--- a/dev-haskell/network/network-2.6.3.1.ebuild
+++ b/dev-haskell/network/network-2.6.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -29,3 +29,5 @@ DEPEND="${RDEPEND}
dev-haskell/test-framework
dev-haskell/test-framework-hunit )
"
+
+PATCHES=("${FILESDIR}"/${P}-no-LDFLAGS.patch)