Created
October 19, 2017 13:35
-
-
Save tongpu/3d411f49266216277a41aa6dcfe5844d to your computer and use it in GitHub Desktop.
Patch for sysbench PKGBUILD to add support for PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -5,12 +5,12 @@ | |
pkgname=sysbench | |
pkgver=1.0.9 | |
-pkgrel=2 | |
+pkgrel=3 | |
pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." | |
url="https://github.com/akopytov/sysbench" | |
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') | |
license=('GPL') | |
-depends=('mariadb-clients') | |
+depends=('mariadb-clients' 'postgresql-libs') | |
makedepends=('libxslt' 'vim') | |
source=("$pkgname-$pkgver.tar.gz::https://github.com/akopytov/$pkgname/archive/$pkgver.tar.gz") | |
md5sums=('937e34251d04b7ddcba5a43dd55056b7') | |
@@ -18,7 +18,7 @@ md5sums=('937e34251d04b7ddcba5a43dd55056b7') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
./autogen.sh | |
- ./configure --prefix=/usr | |
+ ./configure --prefix=/usr --with-pgsql | |
make | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment