diff options
author | tcely <tcely@users.noreply.github.com> | 2018-03-28 21:56:17 -0400 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-04-05 06:28:03 +0000 |
commit | 57f061b63a43823bcb48888eefa9e96b13c46a12 (patch) | |
tree | 54dcef770628777f4303de567774a74a545a3ac6 /main/libevent | |
parent | 53f9d007af658c5165681f06c024bf1de1c08ab4 (diff) | |
download | aports-57f061b63a43823bcb48888eefa9e96b13c46a12.tar.bz2 aports-57f061b63a43823bcb48888eefa9e96b13c46a12.tar.xz |
main/libevent: fix provides versions
Diffstat (limited to 'main/libevent')
-rw-r--r-- | main/libevent/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD index 22be97125a..3cee00568c 100644 --- a/main/libevent/APKBUILD +++ b/main/libevent/APKBUILD @@ -3,7 +3,7 @@ pkgname=libevent pkgver=2.1.8 _pkgver=$pkgver-stable -pkgrel=3 +pkgrel=4 pkgdesc="An event notification library" url="http://libevent.org/" arch="all" @@ -22,6 +22,14 @@ builddir="$srcdir/$pkgname-$_pkgver" # - CVE-2016-10196 # - CVE-2016-10197 +prepare() { + default_prepare + + cd "$builddir" + # help provides tracing work out correctly + sed -i -e "s/@VERSION@/$pkgver-r$pkgrel/" *.pc.in +} + build() { cd "$builddir" ./configure \ |