--- /dev/null
+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@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
dev-haskell/test-framework
dev-haskell/test-framework-hunit )
"
+
+PATCHES=("${FILESDIR}"/${P}-no-LDFLAGS.patch)