x11-misc/xlockmore: Inject LDFLAGS
authorJeroen Roovers <jer@gentoo.org>
Sat, 30 May 2020 14:49:13 +0000 (16:49 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 30 May 2020 14:49:33 +0000 (16:49 +0200)
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Closes: https://bugs.gentoo.org/726280
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch [new file with mode: 0644]
x11-misc/xlockmore/xlockmore-5.64_alpha0.ebuild

diff --git a/x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch b/x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch
new file mode 100644 (file)
index 0000000..f36e3ab
--- /dev/null
@@ -0,0 +1,33 @@
+--- a/modes/Makefile.in
++++ b/modes/Makefile.in
+@@ -344,7 +344,7 @@
+ CXXFLAGS = @CXXFLAGS@
+ #CFLAGS = -O
+ #CFLAGS = -g
+-XLOCKLDFLAGS = @XLOCKLDFLAGS@ $(CHECKLDFLAG)
++XLOCKLDFLAGS = $(LDFLAGS) @XLOCKLDFLAGS@ $(CHECKLDFLAG)
+ XLIBS = @XLIBS@
+ XLOCKLIBS = $(MODULELIB) @XLOCKLIBS@
+--- a/xmlock/Makefile.in
++++ b/xmlock/Makefile.in
+@@ -94,7 +94,7 @@
+ CFLAGS = @CFLAGS@
+ #CFLAGS = -O
+ #CFLAGS = -g
+-XMLOCKLDFLAGS = @XMLOCKLDFLAGS@
++XMLOCKLDFLAGS = $(LDFLAGS) @XMLOCKLDFLAGS@
+ XLIBS = @XLIBS@
+ XMLOCKLIBS = @XMLOCKLIBS@
+ #If you have purify, and want to use it, uncomment this definition or
+--- a/xglock/Makefile.in
++++ b/xglock/Makefile.in
+@@ -92,7 +92,7 @@
+ CFLAGS = @GTK_CFLAGS@ @CFLAGS@
+ #CFLAGS = -O
+ #CFLAGS = -g
+-XGLOCKLDFLAGS = @XGLOCKLDFLAGS@
++XGLOCKLDFLAGS = $(LDFLAGS) @XGLOCKLDFLAGS@
+ XLIBS = @XLIBS@
+ XGLOCKLIBS = @XGLOCKLIBS@
+ #If you have purify, and want to use it, uncomment this definition or
index 2071d07008181a8a668dec03be65b5706c4a5e9e..26cf0a2b0721dce8ae666fd5b45128dd6b3e38e6 100644 (file)
@@ -50,6 +50,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-5.46-freetype261.patch
        "${FILESDIR}"/${PN}-5.47-CXX.patch
        "${FILESDIR}"/${PN}-5.47-strip.patch
+       "${FILESDIR}"/${PN}-5.64_alpha0-LDFLAGS.patch
 )
 S=${WORKDIR}/${P/_alpha/ALPHA}