Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 67048
Collapse All | Expand All

(-)/usr/portage/dev-db/postgresql/postgresql-7.4.5-r1.ebuild (-1 / +5 lines)
Lines 15-21 Link Here
15
LICENSE="POSTGRESQL"
15
LICENSE="POSTGRESQL"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64"
17
KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64"
18
IUSE="ssl nls java python tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime"
18
IUSE="ssl nls java python tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime psqlonly"
19
19
20
DEPEND="virtual/libc
20
DEPEND="virtual/libc
21
	sys-devel/autoconf
21
	sys-devel/autoconf
Lines 126-137 Link Here
126
		--with-maxbackends=${MAX_CONNECTIONS} \
126
		--with-maxbackends=${MAX_CONNECTIONS} \
127
		$myconf || die
127
		$myconf || die
128
128
129
	use psqlonly && { cd src/bin/psql && (make || die) && return; }
130
129
	make || die
131
	make || die
130
	cd contrib
132
	cd contrib
131
	make || die
133
	make || die
132
}
134
}
133
135
134
src_install() {
136
src_install() {
137
	use psqlonly && { cd src/bin/psql && (make DESTDIR=${D} install || die) && cd ../../interfaces/libpq && (make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die) && return; }
138
135
	if use perl; then
139
	if use perl; then
136
		mv ${S}/src/pl/plperl/Makefile ${S}/src/pl/plperl/Makefile_orig
140
		mv ${S}/src/pl/plperl/Makefile ${S}/src/pl/plperl/Makefile_orig
137
		sed -e "s:(INST_DYNAMIC) /usr/lib:(INST_DYNAMIC) ${D}/usr/lib:" \
141
		sed -e "s:(INST_DYNAMIC) /usr/lib:(INST_DYNAMIC) ${D}/usr/lib:" \

Return to bug 67048