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

Jan Steffens heftig at archlinux.org
Thu May 2 02:27:35 UTC 2019


    Date: Thursday, May 2, 2019 @ 02:27:34
  Author: heftig
Revision: 352372

0.2.5+3+gedd78a6-2: Reduce overlinking

Modified:
  gupnp-igd/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-02 02:20:20 UTC (rev 352371)
+++ PKGBUILD	2019-05-02 02:27:34 UTC (rev 352372)
@@ -2,7 +2,7 @@
 
 pkgname=gupnp-igd
 pkgver=0.2.5+3+gedd78a6
-pkgrel=1
+pkgrel=2
 pkgdesc="A library to handle UPnP IGD port mapping"
 url="https://wiki.gnome.org/Projects/GUPnP"
 arch=(x86_64)
@@ -31,6 +31,7 @@
 build() {
   cd $pkgname
   ./configure --prefix=/usr --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
@@ -37,7 +38,7 @@
 check() {
   cd $pkgname
   # test broken (requires root to bind lowport)
-  : make check
+  make check || :
 }
 
 package() {


More information about the arch-commits mailing list