pkg-plist issue - help needed (I'm stumped)

Clement Laforet sheepkiller at cultdeadsheep.org
Tue Oct 7 18:00:26 PDT 2003


On Wed, 8 Oct 2003 10:37:19 +1000
Edwin Groothuis <edwin at 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


More information about the freebsd-ports mailing list