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

Allan McRae allan at archlinux.org
Tue Nov 6 12:55:02 UTC 2018


    Date: Tuesday, November 6, 2018 @ 12:55:01
  Author: allan
Revision: 337922

upgpkg: libcap 2.25-2

get some PIE and a new format .BUILDINFO, use our build flags

Modified:
  libcap/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 12:39:06 UTC (rev 337921)
+++ PKGBUILD	2018-11-06 12:55:01 UTC (rev 337922)
@@ -4,7 +4,7 @@
 
 pkgname=libcap
 pkgver=2.25
-pkgrel=1
+pkgrel=2
 pkgdesc='POSIX 1003.1e capabilities'
 arch=('x86_64')
 url='http://sites.google.com/site/fullycapable/'
@@ -18,6 +18,10 @@
 prepare() {
   cd $pkgname-$pkgver
   sed -i "/SBINDIR/s#sbin#bin#" Make.Rules
+  
+  # use our buildflags
+  sed -i "s/CFLAGS :=/CFLAGS += \$(CPPFLAGS) /" Make.Rules
+  sed -i "s/LDFLAGS :=/LDFLAGS +=/" Make.Rules
 }
 
 build() {



More information about the arch-commits mailing list