Subject: Re: pkg/29030
To: None <darwin-pkg-people@NetBSD.org, gnats-admin@netbsd.org,>
From: S <scole@sdf.lonestar.org>
List: pkgsrc-bugs
Date: 04/22/2007 16:50:02
The following reply was made to PR pkg/29030; it has been noted by GNATS.

From: S <scole@sdf.lonestar.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/29030
Date: Sun, 22 Apr 2007 09:47:22 -0700

 I don't know if this is the correct way, but I was adding
 
 .if (${OPSYS} == "Darwin")
 CFLAGS+= -DELIDE_CODE=1
 .endif
 
 to the pkgsrc Makefile and it seemed to compile and work.  I'm not certain, but I think the DELIDE_CODE flag 
 makes it use the gnu library, and not try to compile its own versions of getopt and other things.  Anyway, 
 that was an easy fix to do.