ports/146766: [patch] update sysutils/bacula-server to 5.0.2

Paul Shepel paul.shepel at gmail.com
Thu May 20 21:20:04 UTC 2010


The following reply was made to PR ports/146766; it has been noted by GNATS.

From: Paul Shepel <paul.shepel at gmail.com>
To: bug-followup at FreeBSD.org, freebsd.lists at thunderit.com
Cc:  
Subject: Re: ports/146766: [patch] update sysutils/bacula-server to 5.0.2
Date: Fri, 21 May 2010 00:11:20 +0300

 Have you ever tried my patch?
 
 About libs: in freebsd ldconfig man
 Filenames must conform to the lib*.so.[0-9] pattern in order to be
 added to the hints file.
 So I made patch to replace -release by -version-info in libs Makefile,
 for example:
 
 -       $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@
 $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -release
 $(LIBBACFIND_LT_CURRENT).$(LIBBACFIND_LT_REVISION).$(LIBBACFIND_LT_AGE)
 +       $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@
 $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -version-info
 $(LIBBACFIND_LT_CURRENT):$(LIBBACFIND_LT_REVISION):$(LIBBACFIND_LT_AGE)
 
 so after linking we'll get libbacfind.so.${MAJOR} library, or for
 bacula 5.0.2 - libbacfind.so.5 . I'm not sure thats the best or ever
 correct way to follow and ready to listen any better proposal. Maybe
 we have to patch over /autoconf/ltmain.sh (libtool) file. Let's follow
 lib naming convention if any or agree about new for this port.



More information about the freebsd-ports-bugs mailing list