mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
main/jemalloc: fix pkgconf version
We don't specify nrev so the version was "5.3.0_". Remove the "_" to have an apk3 compatible version. Also "5.3.0_" and "5.3.0" are considered the same version by pkgconf so there should be no new issue.
This commit is contained in:
parent
e4da232335
commit
abc0b4170e
2 changed files with 17 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
# Contributor: doitwithnotepad <doitwithnotepad@proton.me>
|
||||
pkgname=jemalloc
|
||||
pkgver=5.3.0
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support"
|
||||
url="http://jemalloc.net"
|
||||
arch="all"
|
||||
|
@ -12,7 +12,9 @@ license="BSD-2-Clause"
|
|||
makedepends="autoconf"
|
||||
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
||||
source="https://github.com/jemalloc/jemalloc/releases/download/$pkgver/jemalloc-$pkgver.tar.bz2
|
||||
musl-exception-specification-errors.patch"
|
||||
musl-exception-specification-errors.patch
|
||||
pkgconf.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
local _pgs
|
||||
|
@ -44,4 +46,5 @@ package() {
|
|||
sha512sums="
|
||||
22907bb052096e2caffb6e4e23548aecc5cc9283dce476896a2b1127eee64170e3562fa2e7db9571298814a7a2c7df6e8d1fbe152bd3f3b0c1abec22a2de34b1 jemalloc-5.3.0.tar.bz2
|
||||
7f52287019a02eef434ecd9f07b4f9bdb5349eced1c09f57db0c6c394d173e8deee20b646431264494a0b985eec3208889547cdd48cd7de6844f2b64c441e34b musl-exception-specification-errors.patch
|
||||
04688e1afb8380a61d55292527550b6f26706bed7ec7aeafa3958d52a4d407584aca215bc209e0dd353850756207a0c6bb906643499571be2b34586640314e1f pkgconf.patch
|
||||
"
|
||||
|
|
12
main/jemalloc/pkgconf.patch
Normal file
12
main/jemalloc/pkgconf.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
Fix format since we don't include a revision number
|
||||
|
||||
--- a/jemalloc.pc.in
|
||||
+++ b/jemalloc.pc.in
|
||||
@@ -7,6 +7,6 @@ install_suffix=@install_suffix@
|
||||
Name: jemalloc
|
||||
Description: A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support.
|
||||
URL: http://jemalloc.net/
|
||||
-Version: @jemalloc_version_major@.@jemalloc_version_minor@.@jemalloc_version_bugfix@_@jemalloc_version_nrev@
|
||||
+Version: @jemalloc_version_major@.@jemalloc_version_minor@.@jemalloc_version_bugfix@
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -ljemalloc${install_suffix}
|
Loading…
Reference in a new issue