FS#23648 - [procmail] Fix PKGBUILD so Makefile doesn't ignore CFLAGS/LDFLAGS

Attached to Project: Arch Linux
Opened by Kristoffer Tidemann (ktide) - Friday, 08 April 2011, 08:11 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 08 April 2011, 11:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

procmail's Makefile doesn't seem to care about CFLAGS/LDFLAGS at all, this results in a very shitty build because the Makefile is pretty weird.

Thankfully, this can be fixed without touching the source at all, replace this line in the PKGBUILD:

yes n | make LOCKINGTEST="/tmp ."

with:

yes n | make CFLAGS0="${CFLAGS} ${LDFLAGS}" LOCKINGTEST="/tmp ."
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 08 April 2011, 11:26 GMT
Reason for closing:  Fixed

Loading...