[arch-commits] Commit in liboauth/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Wed Mar 8 11:52:49 UTC 2017
Date: Wednesday, March 8, 2017 @ 11:52:48
Author: jgc
Revision: 290122
upgpkg: liboauth 1.0.3+9+g11e9461-2
Build with NSS instead of OpenSSL
Modified:
liboauth/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-08 11:09:32 UTC (rev 290121)
+++ PKGBUILD 2017-03-08 11:52:48 UTC (rev 290122)
@@ -5,12 +5,12 @@
pkgname=liboauth
pkgver=1.0.3+9+g11e9461
-pkgrel=1
+pkgrel=2
pkgdesc="C library implementing OAuth Core RFC 5849"
url="https://github.com/x42/liboauth"
arch=(i686 x86_64)
license=(MIT)
-depends=(curl)
+depends=(curl nss)
makedepends=(git)
_commit=11e9461fc433e3787198f9c01a0a565a8a1f90a9
source=("git+$url#commit=$_commit")
@@ -28,7 +28,8 @@
build() {
cd $pkgname
- ./configure --prefix=/usr --disable-static
+ ./configure --prefix=/usr --disable-static --enable-nss
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
More information about the arch-commits
mailing list