Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 14:39:14 +1100
From:      Dima Panov <fluffy@ael.ru>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/114277: devel/libslang2: incorrect installation of libraries
Message-ID:  <200707041439.14993.fluffy@ael.ru>
In-Reply-To: <200707040328.l643SgrK026989@serene.no-ip.org>
References:  <200707040328.l643SgrK026989@serene.no-ip.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 July 2007, Conrad J. Sabatier wrote:
> >Description:
>
> 	devel/libslang2 installs libraries incorrectly, installing
> 	libslang.so.2 as a symbolic link pointing to itself, instead of
> 	as the actual shared library file.
>
> 	Here's a listing of the "lib" dir from an example installation
> 	using PREFIX=/tmp/libslang2:
>
> drwxr-xr-x  4 root  wheel      512 Jul  3 22:18 X11
> -r--r--r--  1 root  wheel  1513652 Jul  3 22:18 libslang.a
> lrwxr-xr-x  1 root  wheel       13 Jul  3 22:18 libslang.so ->
> libslang.so.2 lrwxr-xr-x  1 root  wheel       13 Jul  3 22:18 libslang.so.2
> -> libslang.so.2 drwxr-xr-x  3 root  wheel      512 Jul  3 22:18 slang
>
> >How-To-Repeat:
>
> 	make install
>
> >Fix:
>
> 	Unknown just yet.  Problem seems to be in the package's Makefile,
> 	not the port's.
>

Probably this patch will resolve bug. It works for me.

--- configure.orig	Sun Nov 26 14:59:03 2006
+++ configure	Sun Nov 26 14:59:16 2006
@@ -6624,7 +6624,6 @@
      ELFLIB_MAJOR_MINOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).
\$(ELF_MINOR_VERSION).dylib"
      ;;
   *freebsd* )
-    ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)"
     ELF_CC="\$(CC)"
     ELF_CFLAGS="\$(CFLAGS) -fPIC"
     if test "X$PORTOBJFORMAT" = "Xelf" ; then


-- 
Дмитрий А. Панов

Государственная Академия Экономики и Права
Хабаровск, Россия



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707041439.14993.fluffy>