On Sat, May 26, 2012 at 02:21:11PM +0000, John Marino wrote:
> Added Files:
> pkgsrc/sysutils/pfstat: hacks.mk
>
> Log Message:
> sysutils/pfstat: Add DragonFly hack
>
> After spending more time on this this trying to patch it properly than I
> care to admit, I concede defeat and add a hack.mk for DragonFly.
>
> I'm not exactly sure what the problem is, other than "make" works on the
> subdir makefile and "bmake" doesn't. And that's only true if executed
> outside of the package -- hardcoding "make" inside the do-build phase
> doesn't work. Weird problem, but the hack works.
Well yes, "make" inside the do-build phase will get you pkgsrc bmake.
Given that the offending makefile is completely straightforward and
entirely inoffensive, there must be either a bug in pkgsrc's make
(which ought to be fixed) or in bootstrap-mk-files (ditto).
Does anything interesting happen if you make build-env and then in the
subshell run make -n by hand in the subdir?