dev-haskell/x11: don't persist LDFLAGS into package db, bug #609624
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 19 Feb 2017 12:48:37 +0000 (12:48 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 19 Feb 2017 12:52:47 +0000 (12:52 +0000)
Reported-by: Helmut Jarausch
Bug: https://bugs.gentoo.org/609624

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch [new file with mode: 0644]
dev-haskell/x11/x11-1.8-r1.ebuild [moved from dev-haskell/x11/x11-1.8.ebuild with 95% similarity]

diff --git a/dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch b/dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch
new file mode 100644 (file)
index 0000000..f1d5c17
--- /dev/null
@@ -0,0 +1,12 @@
+Don't persist LDFLAGS into package database.
+
+https://bugs.gentoo.org/609624
+diff --git a/X11.buildinfo.in b/X11.buildinfo.in
+index 6925939..6a18b58 100644
+--- a/X11.buildinfo.in
++++ b/X11.buildinfo.in
+@@ -5,3 +5,3 @@ buildable: @BUILD_PACKAGE_BOOL@
+ cc-options: @X_CFLAGS@ @CPPFLAGS@
+-ld-options: @X_LIBS@ @LDFLAGS@
++ld-options: @X_LIBS@
+ extra-libraries: @EXTRA_LIBRARIES@
similarity index 95%
rename from dev-haskell/x11/x11-1.8.ebuild
rename to dev-haskell/x11/x11-1.8-r1.ebuild
index 50622790aa32dd90590cfa58af6a99406b97ce17..13059094fde2ae1b48ceac2366dbfb74cc1e0663 100644 (file)
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.6
 "
 
+PATCHES=("${FILESDIR}"/${P}-no-LDFLAGS.patch)
+
 S="${WORKDIR}/${MY_P}"
 
 src_configure() {