Subject: pkg/32377: devel/distcc doesn't compile on DragonflyBSD
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/24/2005 15:20:00
>Number:         32377
>Category:       pkg
>Synopsis:       devel/distcc doesn't compile on DragonflyBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 24 15:20:00 +0000 2005
>Originator:     Stefan Krüger
>Release:        none
DragonFly localhost 1.3.7-DEVELOPMENT DragonFly 1.3.7-DEVELOPMENT #3: Thu Dec 22 12:28:49 CET 2005     skrueger7@localhost:/usr/obj/usr/src/sys/KERNCONF  i386
devel/distcc doens't build/work correctly on DragonFly, I've added 3 patches, the first 2 just change 2 #if defined (__FreeBSD__) to #if defined (__FreeBSD__) || (__DragonFly__); the sockaddr_storage compile failure was a bit trickier but I found a similar test in postgresql's configure script where <sys/types.h> was included, too; and that did the trick

JFI, I just checked that distcc compiles fine on DFly, I did not do any further tests
on dragonfly, just
$ cd ../pkgsrc/devel/distcc && bmake