aboutsummaryrefslogtreecommitdiffstats
path: root/main/postgresql
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-13 06:51:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-13 06:51:38 +0000
commitc0dd074c1dad21531ddcf82b7aa6ab0319a6908f (patch)
tree01e1adb0951a2b2d7c04d711b761ad74924cfb7b /main/postgresql
parentc171bc47b2ece12a992edd046b3a210cea78a3dd (diff)
downloadaports-c0dd074c1dad21531ddcf82b7aa6ab0319a6908f.tar.bz2
aports-c0dd074c1dad21531ddcf82b7aa6ab0319a6908f.tar.xz
main/postgresql: improve -dev deps. use libedit
- use libedit instead of gnu readline. - avoid pull in unnecessary deps for -dev (ref #4109)
Diffstat (limited to 'main/postgresql')
-rw-r--r--main/postgresql/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index f8f820407b..951effdef0 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -1,15 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postgresql
pkgver=9.4.1
-pkgrel=2
+pkgrel=3
pkgdesc="A sophisticated object-relational DBMS"
url="http://www.postgresql.org/"
arch="all"
license="BSD"
depends="postgresql-client"
install="$pkgname.pre-upgrade"
-depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev"
-makedepends="$depends_dev"
+depends_dev="openssl-dev"
+makedepends="$depends_dev libedit-dev zlib-dev libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc libpq $pkgname-client
$pkgname-contrib"
patches="initdb.patch"
@@ -46,6 +46,7 @@ build() {
--prefix=/usr \
--mandir=/usr/share/man \
--with-openssl \
+ --with-libedit-preferred \
|| return 1
make world || return 1