From owner-freebsd-ports@FreeBSD.ORG Fri Nov 19 13:01:54 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B733106564A for ; Fri, 19 Nov 2010 13:01:54 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep31.mx.upcmail.net (fep31.mx.upcmail.net [62.179.121.49]) by mx1.freebsd.org (Postfix) with ESMTP id 6EAC88FC18 for ; Fri, 19 Nov 2010 13:01:52 +0000 (UTC) Received: from edge01.upcmail.net ([192.168.13.236]) by viefep12-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101119124543.KLNM21136.viefep12-int.chello.at@edge01.upcmail.net>; Fri, 19 Nov 2010 13:45:43 +0100 Received: from headache.rainbow-runner.nl ([80.56.73.45]) by edge01.upcmail.net with edge id Z0ld1f01m0ydU7k010ljBi; Fri, 19 Nov 2010 13:45:43 +0100 X-SourceIP: 80.56.73.45 Date: Fri, 19 Nov 2010 13:46:36 +0100 From: Koop Mast To: "O. Hartmann" Message-ID: <20101119134636.2c5f44cc@headache.rainbow-runner.nl> In-Reply-To: <4CE66051.7000600@zedat.fu-berlin.de> References: <4CE66051.7000600@zedat.fu-berlin.de> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Cloudmark-Analysis: v=1.1 cv=BBXmjR/jrMMj1wHBsuD7Cdv69cLzNztNz9uR8CXiauo= c=1 sm=0 a=K1p1SUMfDGsA:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=Lk84-C-BhAjFvl-CeNkA:9 a=H5mL3evcwOymyoGy-5wA:7 a=NoJmTY2od_Wbv5f8xikw9-2CN9cA:4 a=CjuIK1q_8ugA:10 a=M9E8oJL41isA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: freebsd-ports@freebsd.org Subject: Re: Renaming a shared library in the port-framework to match FreeBSD naming schemes? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 13:01:54 -0000 On Fri, 19 Nov 2010 12:32:33 +0100 "O. Hartmann" 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