Here is the patch to add support for the PL/PGSQL language to the 7.4.6 ebuild. It adds the use flag pg-plpgsql *** postgresql-7.4.6.ebuild Wed Nov 10 18:41:14 2004 --- postgresql-7.4.6-r1.ebuild Wed Nov 10 18:41:34 2004 *************** *** 14,22 **** LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64" ! IUSE="ssl nls java python tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads" DEPEND="virtual/libc sys-devel/autoconf >=sys-libs/ncurses-5.2 --- 14,22 ---- LICENSE="POSTGRESQL" SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64" ! IUSE="ssl nls java python tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime pg-plpgsql threads" DEPEND="virtual/libc sys-devel/autoconf >=sys-libs/ncurses-5.2 *************** *** 130,137 **** --- 130,144 ---- make || die cd contrib make || die + if use pg-plpgsql; then + einfo "Building PL/SQL language module" + cd ../src/pl + make || die + cd ../../contrib + fi + } src_install() { if use perl; then *************** *** 146,153 **** --- 153,166 ---- make DESTDIR=${D} includedir_server=/usr/include/postgresql/server includedir_internal=/usr/include/postgresql/internal LIBDIR=${D}/usr/lib install || die make DESTDIR=${D} includedir_server=/usr/include/postgresql/server includedir_internal=/usr/include/postgresql/internal install-all-headers || die cd ${S}/contrib make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die + if use pg-pgplsql; then + einfo "Installing PL/SQL language module" + cd ${S}/src/pl + make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die + fi + cd ${S} if use pg-hier; then dodoc ${WORKDIR}/README-${P_HIERPG}.html || die fi
I tried the patch. But installed files were same as ones without the patch. Can you check the patch?
Hmm, you're right, it's building the language lib either way. Now why the heck wouldn't it let me load the language when I built 7.4.6 the first time... Oh well, something to look at on my end I guess.