ports/111540: net-mgmt/cflowd fix

Alexandre Snarskii snar at eltel.net
Fri Apr 13 17:40:14 UTC 2007

>Number:         111540
>Category:       ports
>Synopsis:       net-mgmt/cflowd fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 17:40:08 GMT 2007
>Originator:     Alexandre Snarskii
>Release:        FreeBSD 6.2-PRERELEASE i386
Eltel JSC
System: FreeBSD fri.eltel.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Sun Oct 1 22:18:04 MSD 2006 root at fri.eltel.net:/usr/obj/usr/src/sys/FRI i386

	cflowd (ports/net-mgmt/cflowd) marked as BROKEN=Does not compile. 
	cd /usr/port/net-mgmt/cflowd ; make 
    Cflowd does not compile because it required to be built by g++295,
	and it depends on c++ library from arts++ (ports/net-mgmt/arts++),
	which is compiled by default g++ (3.4.6 in my case). And, as C++
	name mangling changed from gcc2 to gcc3 - one compiler is just unable
	to find exported names mangled my other one.

	So, the fix for cflowd problem is really simple - just add 
	USE_GCC=2.95 to arts++ Makefile. 

	Of course, this fix broke all other arts++ dependencies, which does not 
	have USE_GCC=2.95 in their Makefiles, but i'm not able to find any
	other port depending on arts++, so, probably, this fix is safe enough.


More information about the freebsd-ports-bugs mailing list