svn commit: r352081 - head/audio/shout-idjc

Baptiste Daroussin bapt at FreeBSD.org
Sun Apr 27 07:18:39 UTC 2014


On Sat, Apr 26, 2014 at 09:31:43PM +0200, Tijl Coosemans wrote:
> On Sat, 26 Apr 2014 18:44:31 +0200 (CEST) Gerald Pfeifer wrote:
> > On Fri, 25 Apr 2014, Sean Bruno wrote:
> >> Log:
> >>   Apply patch from tijl@ to resolve a lot of issues with the port:
> >>    - HAS_CONFIGURE -> GNU_CONFIGURE
> >>    - USES=libtool.
> >>    - DOCS option.
> >>    - Remove GCC requirement. (In audio/idjc it is replaced with USES=compiler:nestedfct)
> >>   
> >>   Submitted by:	tilj@
> > 
> > Thanks (also to Tijl)!
> > 
> >>  DISTNAME=	${PORTNAME}-${PORTVERSION}
> > 
> > You can omit this, since this is the default definition of DISTNAME.
> > 
> >> Modified: head/audio/shout-idjc/pkg-plist
> > :
> >> +lib/libshout-idjc.so.3.2.0
> > 
> > I thought we are not supposed to have .so files with minor versions
> > numbers in FreeBSD?  That's why I always remove them for my ports
> > instead of installing/adding them to pkg-plist.
> 
> If I remember correctly the FreeBSD runtime linker didn't support them
> but that has been fixed many years ago and many ports have been
> installing such libraries since then.
> 
> What has changed recently is that now libtool based ports can also
> install them (when they set USES=libtool).  It has the advantage that
> these ports will see fewer library version bumps so there'll be fewer
> cases where users have to recursively rebuild dependent ports.
> 
> Another advantage of USES=libtool is that it makes libtool link in
> direct dependencies only instead of recursively linking in the entire
> dependency chain in each library/executable.  This means that when a
> version bump does happen, users will only have to rebuild ports that
> depend on the library directly.
> 
> Because of these two points it is highly recommended to add USES=libtool
> to all ports that use libtool, even if they build fine without it.
> 

Last advantage is a port using libtool can only be cross build if mand only if
it uses USES=libtool, causr all others are noy respected CC/LD at link time!

So now USES=libtool is not recommanded, it is mandatory if a port uses libtool

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140427/e48b4d6d/attachment.sig>


More information about the svn-ports-all mailing list