Lines 71-77
Link Here
|
71 |
# use ppc && CFLAGS="-pipe -fsigned-char" |
71 |
# use ppc && CFLAGS="-pipe -fsigned-char" |
72 |
|
72 |
|
73 |
# eval is needed to get along with pg_config quotation of space-rich entities. |
73 |
# eval is needed to get along with pg_config quotation of space-rich entities. |
74 |
eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ |
74 |
eval econf "$(/usr/libexec/postgresql-${SLOT}/pg_config --configure)" \ |
75 |
--disable-thread-safety \ |
75 |
--disable-thread-safety \ |
76 |
$(use_with perl) \ |
76 |
$(use_with perl) \ |
77 |
$(use_with python) \ |
77 |
$(use_with python) \ |
Lines 86-92
Link Here
|
86 |
|| die "configure failed" |
86 |
|| die "configure failed" |
87 |
|
87 |
|
88 |
for bd in . contrib $(use xml && echo contrib/xml2); do |
88 |
for bd in . contrib $(use xml && echo contrib/xml2); do |
89 |
PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ |
89 |
PATH="/usr/libexec/postgresql-${SLOT}:${PATH}" \ |
90 |
emake -C $bd -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake in $bd failed" |
90 |
emake -C $bd -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake in $bd failed" |
91 |
done |
91 |
done |
92 |
} |
92 |
} |
Lines 99-105
Link Here
|
99 |
fi |
99 |
fi |
100 |
|
100 |
|
101 |
for bd in . contrib $(use xml && echo contrib/xml2) ; do |
101 |
for bd in . contrib $(use xml && echo contrib/xml2) ; do |
102 |
PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ |
102 |
PATH="/usr/libexec/postgresql-${SLOT}:${PATH}" \ |
103 |
emake install -C $bd -j1 DESTDIR="${D}" || die "emake install in $bd failed" |
103 |
emake install -C $bd -j1 DESTDIR="${D}" || die "emake install in $bd failed" |
104 |
done |
104 |
done |
105 |
|
105 |
|
Lines 220-226
Link Here
|
220 |
|
220 |
|
221 |
einfo "Initializing the database ..." |
221 |
einfo "Initializing the database ..." |
222 |
|
222 |
|
223 |
su postgres -c "/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb --pgdata \"${PGDATA}\" ${PG_INITDB_OPTS}" |
223 |
su postgres -c "/usr/libexec/postgresql-${SLOT}/initdb --pgdata \"${PGDATA}\" ${PG_INITDB_OPTS}" |
224 |
|
224 |
|
225 |
einfo |
225 |
einfo |
226 |
einfo "You can use the '${ROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL instead of 'pg_ctl'." |
226 |
einfo "You can use the '${ROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL instead of 'pg_ctl'." |
Lines 234-240
Link Here
|
234 |
|
234 |
|
235 |
src_test() { |
235 |
src_test() { |
236 |
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" |
236 |
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" |
237 |
PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ |
237 |
PATH="/usr/libexec/postgresql-${SLOT}:${PATH}" \ |
238 |
emake -j1 check || die "Make check failed. See above for details." |
238 |
emake -j1 check || die "Make check failed. See above for details." |
239 |
|
239 |
|
240 |
einfo "Yes, there are other tests which could be run." |
240 |
einfo "Yes, there are other tests which could be run." |