diff options
Diffstat (limited to 'dev-db/postgresql-server/postgresql-server-8.3.0.ebuild')
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-8.3.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-db/postgresql-server/postgresql-server-8.3.0.ebuild b/dev-db/postgresql-server/postgresql-server-8.3.0.ebuild index c02a244..77aa64d 100644 --- a/dev-db/postgresql-server/postgresql-server-8.3.0.ebuild +++ b/dev-db/postgresql-server/postgresql-server-8.3.0.ebuild @@ -91,7 +91,7 @@ src_compile() { || die "configure failed" for bd in . contrib $(use xml && echo contrib/xml2) ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ + PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ emake -C $bd -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \ @@ -107,7 +107,7 @@ src_install() { fi for bd in . contrib $(use xml && echo contrib/xml2) ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ + PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ emake install -C $bd -j1 DESTDIR="${D}" \ PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \ PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ @@ -118,8 +118,8 @@ src_install() { dodoc README HISTORY doc/{README.*,TODO,bug.template} - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - cat >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/service" <<-__EOF__ + dodir /usr/$(get_libdir)/eselect-postgresql/slots/${SLOT} + cat >"${D}/usr/$(get_libdir)/eselect-postgresql/slots/${SLOT}/service" <<-__EOF__ postgres_ebuilds="\${postgres_ebuilds} ${PF}" postgres_service="postgresql-${SLOT}" __EOF__ @@ -202,7 +202,7 @@ pkg_config() { src_test() { einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ + PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ emake -j1 check \ PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ NO_PGXS=0 USE_PGXS=1 SLOT=${SLOT} || die "Make check failed. See above for details." |