Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 03:00:25 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg-plist issue - help needed (I'm stumped)
Message-ID:  <20031008030025.5a6d315b.sheepkiller@cultdeadsheep.org>
In-Reply-To: <20031008003719.GA24027@k7.mavetju>
References:  <20031008003719.GA24027@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Oct 2003 10:37:19 +1000
Edwin Groothuis <edwin@mavetju.org> wrote:

Hi Edwin !

> It seems that libtsocks.so.1.8 isn't stored in the +CONTENTS file
> in /var/db/pkg/tsocks neither. I'm confused, how can I make this
> pkg-plist working correctly?

No way... FreeBSD doesn't support two versionning levels for libs.
libXXX.so.Y.Z becomes libXXX.so.Y

According bsd.port.mk
.if (${PORTOBJFORMAT} == "aout")
        @${SED} -e 's,\(/lib.*\.so\.[0-9]*\)$$,\1.0,' ${TMPPLIST} > ${TMPPLIST}.tmp
.else
        @${SED} -e 's,\(/lib.*\.so\.[0-9]*\)\.[0-9]*$$,\1,' ${TMPPLIST} > ${TMPPLIST}.tmp
.endif

Test :
echo libtrest.so.0.5 | sed -e 's,\(lib.*\.so\.[0-9]*\)\.[0-9]*$,\1,'
libtrest.so.0

regards,
clem



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