FS#22285 - [procps] PKGBUILD doesn't honour CFLAGS and LDFLAGS
Attached to Project:
Arch Linux
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 14:04 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 04 January 2011, 19:40 GMT
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 14:04 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 04 January 2011, 19:40 GMT
|
Details
Description:
The Makefile of the procps 3.2.8 package doesn't honour the CFLAGS and LDFLAGS environment variables. The following small change forces it to do so: diff --git a/PKGBUILD b/PKGBUILD index 35e0c48..1498026 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -63,7 +63,7 @@ build() { patch -p1 < ../procps-3.2.8-threads.patch patch -p0 < ../procps-3.2.8-linux-ver-init.patch sed -i "s:\$(lib64):lib:" Makefile - make + make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" } package() { Additional info: I looked at the 3.2.8-3 version of the PKGBUILD. Steps to reproduce: Compile procps with custom CFLAGS or LDFLAGS set in your /etc/makepkg.conf |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 04 January 2011, 19:40 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk.
Tuesday, 04 January 2011, 19:40 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk.