Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 13:46:36 +0100
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Renaming a shared library in the port-framework to match FreeBSD naming schemes?
Message-ID:  <20101119134636.2c5f44cc@headache.rainbow-runner.nl>
In-Reply-To: <4CE66051.7000600@zedat.fu-berlin.de>
References:  <4CE66051.7000600@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Nov 2010 12:32:33 +0100
"O. Hartmann" <ohartman@zedat.fu-berlin.de> wrote:

> Hello.
> Trying to do my first port and run into trouble.
> The software package (Xerces-c 3.1.1) comes with a full autotoll=20
> environment and so far building and installing works.
>=20
> But the libarary name is "libxerces-c-3.1.so" and I need to change this=20
> to respect the FreeBSD nameing schemes to "libxerces-c.so.31". I'm=20
> looking for a way avoiding some "post-install:" stuff.

There isn't any problem with the libxerces-c-3.1.so name.
=46rom http://www.freebsd.org/doc/en/books/porters-handbook/special.html
Try to keep shared library version numbers in the libfoo.so.0 format.
Our runtime linker only cares for the major (first) number.

> Is it possible to manipulate the library name via some variables passed=20
> through the port-framework to the build-enviroment?

There isn't. We leave the library name just like upstream/author wants it t=
o be. We only hack the library version if needed.

-Koop
=20
> Well, I'm very new to porting and this may seem to be a very easy task=20
> for experienced porters, so please excuse possible bothering ...
>=20
> Thanks in advance,
>=20
> Oliver
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>=20



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