Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 13:31:20 +0900
From:      SASAKI Katuhiro <sahiro@crest.ocn.ne.jp>
To:        "Maxim M. Kazachek" <stranger@sberbank.sibnet.ru>
Cc:        Will Andrews <will@csociety.org>, Alex Zepeda <jazepeda@pacbell.net>, Kris Kennaway <kris@obsecurity.org>, <current@FreeBSD.ORG>, <ports@FreeBSD.ORG>
Subject:   Re: 5.x packages and request for help.
Message-ID:  <3c92c7c2.6674%sahiro@crest.ocn.ne.jp>
In-Reply-To: <20020315083610.I98205-100000@sbk-gw.sibnet.ru>
References:  <20020314175440.B64023@zippy.mybox.zip> <20020315083610.I98205-100000@sbk-gw.sibnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

In <20020315083610.I98205-100000@sbk-gw.sibnet.ru>, Maxim M. Kazachek wrote:
>I've installed qt23 from ports painlessly
>
Does uic command provided by qt23 port work on your system? On my 
-CURRENT (updated in Mar 11), that binary was linked with weird 
liblcms.so_edata as next:
% ldd uic
uic:
        libqutil.so.1 => /usr/X11R6/lib/libqutil.so.1 (0x28099000)
        libqt2.so.4 => /usr/X11R6/lib/libqt2.so.4 (0x280a0000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28545000)
        libm.so.2 => /usr/lib/libm.so.2 (0x2858a000)
        libc_r.so.5 => /usr/lib/libc_r.so.5 (0x285a5000)
        libc.so.5 => /usr/lib/libc.so.5 (0x285c3000)
        liblcms.so_edata => not found (0x0)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28676000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28684000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x2875f000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28768000)
        libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x2877e000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x287a7000)
        libz.so.2 => /usr/lib/libz.so.2 (0x287c9000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x287d6000)
        libmng.so.1 => /usr/local/lib/libmng.so.1 (0x287f4000)
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28826000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x28828000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2882d000)
        liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x2886b000)

I don't know how to fix this. Only I can do is a makeshift disposition 
as below:
diff -urN /usr/ports/x11-toolkits/qt23/Makefile qt23/Makefile
--- /usr/ports/x11-toolkits/qt23/Makefile	Wed Feb 20 01:50:44 2002
+++ qt23/Makefile	Sat Mar 16 05:59:21 2002
@@ -16,6 +16,8 @@
 
 MAINTAINER?=	kde@FreeBSD.org
 
+PLIST=		${WRKDIR}/pkg-plist
+
 LIB_DEPENDS=	mng.1:${PORTSDIR}/graphics/libmng \
 		png.5:${PORTSDIR}/graphics/png \
 		jpeg.9:${PORTSDIR}/graphics/jpeg
@@ -88,6 +90,13 @@
 qt-pre-configure:
 	@true
 
+post-extract:
+	${RM} -f ${PLIST}
+.if ${OSVERSION} >= 500029
+	${ECHO_CMD} lib/liblcms.so_edata > ${PLIST}
+.endif
+	${CAT} ${PKGDIR}/pkg-plist >> ${PLIST}
+
 post-patch:
 .if ${MACHINE_ARCH} == "i386" && !defined(NO_QT_OBJPRELINK)
 .if !exists(${WRKDIR}/.${PKGNAME}.objprelink_patched)
@@ -170,6 +179,11 @@
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3
 .endif
+.endif
+
+post-install:
+.if ${OSVERSION} >= 500029
+	${CP} ${LOCALBASE}/lib/libmng.so ${PREFIX}/lib/liblcms.so_edata
 .endif
 
 .include <bsd.port.post.mk>

Thank you.



--
                       SASAKI Katuhiro

                mailto: sahiro@crest.ocn.ne.jp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c92c7c2.6674%sahiro>