Subject: probably should check for flex instead of SunOS
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/02/2003 21:15:09
Some packages like devel/oaf/Makefile, devel/cscope/Makefile, and
graphics/netpbm/Makefile need flex.

But they check for SunOS instead.

On my Linux packages, I have used:

.if !exists(/usr/bin/flex)
BUILD_DEPENDS+=     flex-*:../../devel/flex
.endif

Any thoughts?

Also, maybe devel/oaf/Makefile shouldn't assume BUILD_DEPENDS for bison
just on SunOS either. (Because some other operating systems may not have a
yacc.)

Should I send-pr some patches?

   Jeremy C. Reed
   http://bsd.reedmedia.net/

p.s. I imported a BSD yacc to wip-pkgsrc on April 5.