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

Jelle van der Waa jelle at archlinux.org
Fri Oct 11 20:54:41 UTC 2019


    Date: Friday, October 11, 2019 @ 20:54:32
  Author: jelle
Revision: 515191

upgpkg: cgrep 6.6.25-173

Enable PIE for cgrep.

Modified:
  cgrep/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-11 20:52:42 UTC (rev 515190)
+++ PKGBUILD	2019-10-11 20:54:32 UTC (rev 515191)
@@ -3,7 +3,7 @@
 
 pkgname=cgrep
 pkgver=6.6.25
-pkgrel=172
+pkgrel=173
 pkgdesc="A context-aware grep for source codes"
 url="https://awgn.github.io/cgrep/"
 license=("GPL2")
@@ -20,7 +20,8 @@
 build() {
     cd $pkgname-$pkgver
 
-    runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}"
+    runhaskell Setup configure -O --prefix=/usr --ghc-option='-pie' \
+                               --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}"
     runhaskell Setup build
 }
 



More information about the arch-commits mailing list