aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schwarz <ssz@netzmarkt.de>2018-10-04 15:08:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-10 13:29:38 +0100
commit151c2021d6ff5c4151f03115bf79cb027ebea157 (patch)
treec7881a985270ab7bcf487a3ffbd89feaf3534822
parentd7f33f856ada4bcdb7fc556e53404e7e5c97abe1 (diff)
downloadaports-151c2021d6ff5c4151f03115bf79cb027ebea157.tar.gz
aports-151c2021d6ff5c4151f03115bf79cb027ebea157.tar.bz2
aports-151c2021d6ff5c4151f03115bf79cb027ebea157.tar.xz
main/apr-util: re-add mysql support
was removed in commit 3f7f81, builds without any issue fixes #9509 (cherry picked from commit 85ed9b9df1975852396ffad810566787f1decdf8)
-rw-r--r--main/apr-util/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index e19783c316..98d72700f2 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -1,17 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr-util
pkgver=1.6.1
-pkgrel=2
+pkgrel=3
pkgdesc="The Apache Portable Runtime Utility Library"
url="http://apr.apache.org/"
arch="all"
license="Apache-2.0"
depends=
-subpackages="$pkgname-dev $pkgname-dbm_db $pkgname-dbd_pgsql
+subpackages="$pkgname-dev $pkgname-dbm_db $pkgname-dbd_pgsql $pkgname-dbd_mysql
$pkgname-dbd_sqlite3 $pkgname-ldap"
depends_dev="expat-dev apr-dev openldap-dev sqlite-dev postgresql-dev
- db-dev libressl-dev"
+ db-dev libressl-dev mariadb-dev"
makedepends="$depends_dev bash chrpath libressl"
source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
@@ -25,6 +25,7 @@ build() {
--with-apr=/usr \
--with-ldap \
--with-pgsql \
+ --with-mysql \
--with-sqlite3 \
--with-berkeley-db \
--with-crypto \
@@ -46,6 +47,7 @@ _mv_mod() {
pkgdesc="The Apache Portable Runtime Utility Library - $2 driver"
depends=
local _moddir="usr/lib/apr-util-1"
+ ls "$pkgdir"/$_moddir
mkdir -p "$subpkgdir"/$_moddir
mv "$pkgdir"/$_moddir/apr_$1*.so "$subpkgdir"/$_moddir/
}