Following on from this FreeBSD problem report: 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192526

The full patch, not yet tested, is at 
https://bz-attachments.freebsd.org/attachment.cgi?id=145579 but here is a short 
extract for discussion:

The goal, move $(LDFLAGS) to the end.  This will allow you to compile Bacula 7 
when Bacula 5 is installed.  I admit, I don’t understand the cause very well.

 bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) 
../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
-       $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o 
$@ $(CONSOBJS) \
+       $(LIBTOOL_LINK) $(CXX) $(CONS_LDFLAGS) -L../lib -L../cats $(LDFLAGS) -o 
$@ $(CONSOBJS) \

I’d prefer patches like this go into the Bacula project instead of being in 
FreeBSD patches.

Comments?

— 
Dan Langille

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to