FS#22438 - [whois] PKGBUILD doesn't honour CFLAGS
Attached to Project:
Arch Linux
Opened by Emil Renner Berthing (Esmil) - Saturday, 15 January 2011, 00:42 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 15 January 2011, 12:06 GMT
Opened by Emil Renner Berthing (Esmil) - Saturday, 15 January 2011, 00:42 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 15 January 2011, 12:06 GMT
|
Details
Description:
The Makefile of whois-5.0.10 doesn't seem to honour the CFLAGS environment variable. The following small change forces it to do so: diff --git a/PKGBUILD b/PKGBUILD index d3dfd28..fe5cbbd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -16,7 +16,7 @@ md5sums=('d7626a3f789da85e70e4b931b6b34a26') build() { cd "${srcdir}/${pkgname}-${pkgver}" - make prefix=/usr HAVE_LIBIDN=1 + make prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1 } package() { Additional info: I looked at version 5.0.10-1 of the PKGBUILD. Steps to reproduce: Build the whois packages with custom CFLAGS set in your /etc/makepkg.conf |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Saturday, 15 January 2011, 12:06 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in whois-5.0.10-2 for both archs.
Saturday, 15 January 2011, 12:06 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in whois-5.0.10-2 for both archs.