Date: Thu, 20 May 2010 21:20:03 GMT From: Paul Shepel <paul.shepel@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/146766: [patch] update sysutils/bacula-server to 5.0.2 Message-ID: <201005202120.o4KLK3VX055574@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/146766; it has been noted by GNATS. From: Paul Shepel <paul.shepel@gmail.com> To: bug-followup@FreeBSD.org, freebsd.lists@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005202120.o4KLK3VX055574>