Lines 13-19
Link Here
|
13 |
threads? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" |
13 |
threads? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" |
14 |
LICENSE="POSTGRESQL" |
14 |
LICENSE="POSTGRESQL" |
15 |
SLOT="4" |
15 |
SLOT="4" |
16 |
IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib" |
16 |
IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib ldap" |
17 |
|
17 |
|
18 |
RDEPEND="!<=dev-db/postgresql-8.1.4 |
18 |
RDEPEND="!<=dev-db/postgresql-8.1.4 |
19 |
kerberos? ( virtual/krb5 ) |
19 |
kerberos? ( virtual/krb5 ) |
Lines 28-33
Link Here
|
28 |
|
28 |
|
29 |
S="${WORKDIR}/postgresql-${PV}" |
29 |
S="${WORKDIR}/postgresql-${PV}" |
30 |
|
30 |
|
|
|
31 |
KRB5_CONFIG="/usr/bin/krb5-config" |
32 |
|
31 |
pkg_preinst() { |
33 |
pkg_preinst() { |
32 |
# Removing wrong symlink created by previous ebuild |
34 |
# Removing wrong symlink created by previous ebuild |
33 |
if [[ -L "${ROOT}/usr/include/libpq" ]] ; then |
35 |
if [[ -L "${ROOT}/usr/include/libpq" ]] ; then |
Lines 50-55
Link Here
|
50 |
|
52 |
|
51 |
cd "${S}" |
53 |
cd "${S}" |
52 |
|
54 |
|
|
|
55 |
append-ldflags -L`${KRB5_CONFIG} --libs |sed -e's/^-L\([^ ]*\)\($\| .*$\)/\1/'` |
56 |
append-flags -I`${KRB5_CONFIG} --cflags |sed -e's/^-I\([^ ]*\)\($\| .*$\)/\1/'` |
57 |
|
53 |
./configure --prefix=/usr \ |
58 |
./configure --prefix=/usr \ |
54 |
--includedir=/usr/include/postgresql/libpq-${SLOT} \ |
59 |
--includedir=/usr/include/postgresql/libpq-${SLOT} \ |
55 |
--sysconfdir=/etc/postgresql \ |
60 |
--sysconfdir=/etc/postgresql \ |
Lines 61-66
Link Here
|
61 |
$(use_with kerberos krb5) \ |
66 |
$(use_with kerberos krb5) \ |
62 |
$(use_enable nls ) \ |
67 |
$(use_enable nls ) \ |
63 |
$(use_with pam) \ |
68 |
$(use_with pam) \ |
|
|
69 |
$(use_with ldap) \ |
64 |
--without-perl \ |
70 |
--without-perl \ |
65 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
71 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
66 |
--without-python \ |
72 |
--without-python \ |