libimg-1.2.4 broken on 5.x

Ruslan Ermilov ru at FreeBSD.org
Tue Oct 14 13:47:18 PDT 2003


On Mon, Oct 13, 2003 at 02:34:43PM -0700, Kris Kennaway wrote:
> http://bento.freebsd.org/errorlogs/i386-5-latest/libimg-1.2.4.log
> 
> This is affecting a number of ports - notice that it creates the
> libimg.so symlink in /usr/lib instead of /usr/local/lib.  I would
> guess that a change to *.mk is responsible.
> 
Yes, a change to bsd.lib.mk to support dynamic root (introfuction
of /lib) is responsible for the breakage -- .so symlinks are now
created in LIBDIR instead of SHLIBDIR.  The below patch will work
for both 4.x and 5.x.

%%%
Index: Makefile.bsd
===================================================================
RCS file: /home/ncvs/ports/graphics/libimg/files/Makefile.bsd,v
retrieving revision 1.4
diff -u -r1.4 Makefile.bsd
--- Makefile.bsd	21 Jul 2002 20:23:00 -0000	1.4
+++ Makefile.bsd	14 Oct 2003 20:41:51 -0000
@@ -44,7 +44,7 @@
 
 DIR		= lib/Img1.2
 INSTDIR		= ${LOCALBASE}/${DIR}
-SHLIBDIR	= ${LOCALBASE}/lib
+LIBDIR		= ${LOCALBASE}/lib
 
 ${INSTDIR} ${INSTDIR}/msgs:
 	${MKDIR} $@
%%%


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software Ltd,
ru at FreeBSD.org		FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031014/2887b28f/attachment.bin


More information about the freebsd-ports mailing list