New and substantially improved version. Old (generic) ebuild mostly works. Attaching cosmetic fixes.
Created attachment 81757 [details, diff] ebuild diff
should be gone in very soon, with glibc-2.4 (ntpl, ntpl-only) version 1.3 gives me: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -pipe -Os -fomit-frame-pointer -MT config.lo -MD -MP -MF .deps/config.Tpo -c config.c -fPIC -DPIC -o .libs/config.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -pipe -Os -fomit-frame-pointer -MT backend.lo -MD -MP -MF .deps/backend.Tpo -c backend.c -fPIC -DPIC -o .libs/backend.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -pipe -Os -fomit-frame-pointer -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -fPIC -DPIC -o .libs/interface.o In file included from interface.c:16: /usr/include/bits/libc-lock.h:35:27: error: lowlevellock.h: No such file or directory /usr/include/bits/libc-lock.h:36:18: error: tls.h: No such file or directory /usr/include/bits/libc-lock.h:37:32: error: pthread-functions.h: No such file or directory i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -pipe -Os -fomit-frame-pointer -MT config.lo -MD -MP -MF .deps/config.Tpo -c config.c -o config.o >/dev/null 2>&1 make[2]: *** [interface.lo] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -pipe -Os -fomit-frame-pointer -MT backend.lo -MD -MP -MF .deps/backend.Tpo -c backend.c -o backend.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/libnss-pgsql-1.3/work/libnss-pgsql-1.3/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/libnss-pgsql-1.3/work/libnss-pgsql-1.3' make: *** [all] Fehler 2 !!! ERROR: sys-auth/libnss-pgsql-1.3 failed. libnss-pgsql-1.4 works
added to the portage thank you for your contribution.idddd