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

Balló György bgyorgy at archlinux.org
Fri Nov 20 19:25:47 UTC 2015


    Date: Friday, November 20, 2015 @ 20:25:47
  Author: bgyorgy
Revision: 147248

upgpkg: cjs 2.8.0-1

Update to new version

Modified:
  cjs/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-20 19:21:56 UTC (rev 147247)
+++ PKGBUILD	2015-11-20 19:25:47 UTC (rev 147248)
@@ -15,14 +15,21 @@
 options=(!emptydirs)
 sha256sums=('eceddb46dd7c1da9652c99355158feb8a107e213b5f7240700e1777b28d00a73')
 
-build() {
+prepare() {
   cd $pkgname-$pkgver
-
   # Python2 fix
   sed -i 's|#! /usr/bin/env python|#! /usr/bin/env python2|' \
   		verbump.py
+}
 
+build() {
+  cd $pkgname-$pkgver
+
   ./autogen.sh --prefix=/usr --disable-static --libexecdir=/usr/lib
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 



More information about the arch-commits mailing list