Subject: Re: help with linking within a new package
To: NetBSD Package Maintainers List <firstname.lastname@example.org>
From: Julian C. Dunn <email@example.com>
Date: 08/24/2003 11:40:44
On Sun, 2003-08-24 at 08:13, Todd Vierling wrote:
> On Sun, 24 Aug 2003, Julian C. Dunn wrote:
> : I'm trying to create a new package for amavisd-new, the improved e-mail
> : virus and spam scanner. I'm having some difficulty handling the building
> : of the milter binaries (amavis and amavis-milter) due to some linking
> : issues.
> : First of all, I had to copy the hackery from the amavis-perl package
> : which looks like the following:
> Try adding the following within a USE_MILTER test, just before ".include
> .../bsd.pkg.mk". This should eliminate the hackery need.
> .include "../../mail/libmilter/buildlink2.mk"
> .include "../../mk/pthread.buildlink2.mk"
Awesome, thank you! Subsequently I had to patch Makefile.in to respect
$(LDFLAGS) but otherwise it works great.
[ Julian C. Dunn <firstname.lastname@example.org> * <email@example.com> ]
[ WWW: http://www.aquezada.com/staff/julian/ * PGP: 0xFDC205B9 ]
[ "sometimes you win, sometimes you lose / and most times ]
[ you choose between the two" - carole king, "sweet seasons" ]