Subject: Re: pkgsrc Darwin 7.9.0/powerpc bulk build results 2005-06-14
To: Krister Walfridsson <cato@df.lth.se>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: pkgsrc-bulk
Date: 06/15/2005 13:43:42
On Wednesday 15 June 2005 09:40, Krister Walfridsson wrote:
> Top Ten Offenders
>
> Package                    Breaks  Maintainer
> --------------------------------------------------------------
	[...]
> net/mDNSResponder          146     tech-pkg@NetBSD.org

Looks like this failure is caused by this bit of the mDNSResponder Makefile:

	.elif ${OPSYS} == "Darwin"
	MAKE_ENV+=      os=jaguar
	SO_SUFFIX=      dylib
	.else

We have the choice of  os=jaguar, os=panther or os=tiger and presumably Darwin 
7.9.0 should be "panther" or "tiger".  Anybody know how to equate a Darwin 
version to an OSX codename?

The particular differences the codenames are implying in this build are:

jaguar:
CFLAGS_OS = -DHAVE_IPV6 -no-cpp-precomp -DNOT_HAVE_SOCKLEN_T
panther:
CFLAGS_OS = -DHAVE_IPV6 -no-cpp-precomp #-pedantic
tiger:
CFLAGS_OS = -DHAVE_IPV6 -no-cpp-precomp -Wdeclaration-after-statement

and its the "-DNOT_HAVE_SOCKLEN_T" thats breaking the bulk build.


(and yes its an ugly makefile structure they are using in this package).

cheers
mark