mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-R/ps: respect LDFLAGS
Closes: https://bugs.gentoo.org/794112 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
15
dev-R/ps/files/ps-respect-LDFLAGS.patch
Normal file
15
dev-R/ps/files/ps-respect-LDFLAGS.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
--- a/src/Makevars.in
|
||||||
|
+++ b/src/Makevars.in
|
||||||
|
@@ -8,10 +8,10 @@
|
||||||
|
all: px @TARGETS@ $(SHLIB)
|
||||||
|
|
||||||
|
px: px.c
|
||||||
|
- $(CC) $(CFLAGS) -Wall px.c -o px
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall px.c -o px
|
||||||
|
|
||||||
|
interrupt: interrupt.c
|
||||||
|
- $(CC) $(CFLAGS) -Wall interrupt.c -o interrupt
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall interrupt.c -o interrupt
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(SHLIB) $(OBJECTS) px.exe px interrupt.exe interrupt
|
||||||
@@ -11,4 +11,14 @@
|
|||||||
manipulate all system processes, on 'Windows', 'Linux' and
|
manipulate all system processes, on 'Windows', 'Linux' and
|
||||||
'macOS'.
|
'macOS'.
|
||||||
</longdescription>
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<bugs-to>https://github.com/r-lib/ps/issues</bugs-to>
|
||||||
|
<changelog>https://cran.r-project.org/web/packages/ps/news/news.html</changelog>
|
||||||
|
<doc lang="en">https://cran.r-project.org/web/packages/ps/ps.pdf</doc>
|
||||||
|
<maintainer>
|
||||||
|
<email>csardi.gabor@gmail.com</email>
|
||||||
|
<name>Gábor Csárdi</name>
|
||||||
|
</maintainer>
|
||||||
|
<remote-id type="github">r-lib/ps</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
@@ -11,3 +11,5 @@ LICENSE='MIT'
|
|||||||
|
|
||||||
DEPEND=">=dev-lang/R-3.1"
|
DEPEND=">=dev-lang/R-3.1"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${PN}-respect-LDFLAGS.patch" )
|
||||||
|
|||||||
Reference in New Issue
Block a user