Ok, I have found a solution!
You have to use the 1.8.3 ebuild and here are the steps:
1. cd /usr/portage/dev-libs/pwlib
2. patch -p0 < pwlib.diff
pwlib.diff:
Code: Select all
--- pwlib-1.8.3.ebuild 2004-12-27 22:50:54.000000000 -0500
+++ /root/pwlib-1.8.3.ebuild 2004-12-28 21:28:30.858943520 -0500
@@ -79,6 +79,7 @@
econf ${myconf} \
--enable-plugins \
+ --libdir=/usr/lib64 \
--with-plugins=${plugins} || die "configure failed"
# Horrible hack to strip out -L/usr/lib to allow upgrades
@@ -104,7 +105,7 @@
src_install() {
# make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
+ dodir /usr/bin /usr/lib64 /usr/share /usr/include
make PREFIX=${D}/usr install || die "install failed"
# these are for compiling openh323
@@ -114,8 +115,8 @@
cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
+ for x in ${D}/usr/lib64/*; do
+ dosym /usr/lib64/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
done
# remove CVS dirs
@@ -125,7 +126,7 @@
# only amd64 needs special handling, afaiks
rm ${D}/usr/lib/libpt.so
if [ ${ARCH} = "amd64" ] ; then
- dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
+ dosym /usr/lib64/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
else
dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
fi
3. execute:
ebuild /usr/portage/dev-libs/pwlib/pwlib-1.8.3.ebuild fetch unpack
4. cd /var/tmp/portage/pwlib-1.8.3/work/pwlib
5. Execute: patch -p0 < makefile.in.diff
makefile.in.diff:
Code: Select all
--- Makefile.in 2004-12-28 21:39:16.759751672 -0500
+++ /root/Makefile.in 2004-12-28 21:31:39.555257320 -0500
@@ -248,7 +248,7 @@
$(DESTDIR)$(PREFIX)/include/ptlib/unix/ptlib \
$(DESTDIR)$(PREFIX)/include/ptclib \
$(DESTDIR)$(PREFIX)/share/pwlib/make ; \
- do mkdir -p $$dir ; chmod 755 $$dir ; \
+ do mkdir -p $$dir ; \
done )
$(INSTALL) -m 444 lib/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
(cd $(DESTDIR)$(LIBDIR) ; \
6. Execute:
FEATURES="-sandbox" ebuild /usr/portage/dev-libs/pwlib/pwlib-1.8.3.ebuild compile install qmerge
and you should be all set!
Erik
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'