[arch-commits] Commit in psutils/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed Oct 19 06:03:23 EDT 2011


    Date: Wednesday, October 19, 2011 @ 06:03:22
  Author: andrea
Revision: 140791

Honor CFLAGS and LDFLAGS (FS#22439)

Modified:
  psutils/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-19 10:00:03 UTC (rev 140790)
+++ PKGBUILD	2011-10-19 10:03:22 UTC (rev 140791)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: eric <eric at archlinux.org>
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: eric <eric at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
  
 pkgname=psutils
@@ -23,7 +24,9 @@
   patch -Np1 -i "${srcdir}/psutils-1.17.diff"
   make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \
     INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \
-    MANDIR="${pkgdir}/usr/share/man/man1"
+    MANDIR="${pkgdir}/usr/share/man/man1" \
+    CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
+    CCFLAGS="$LDFLAGS"
 }
 
 package() {



More information about the arch-commits mailing list