Installing avrdude via MacPorts
Trying to install the current avrdude via MacPorts can hit a snag though, because there is a flex source file (lexer.l) which won't compile with the version of flex that MacPorts installs (if you have ever installed flex via MacPorts).
The Apple supplied flex is fine, so the Portfile just needs a little addition to point the ./configure in the right direction.
Edit the portfile:
And add the following line to the end:
Now you just need to rebuild:
sudo port clean avrdude
sudo port install avrdude
05:08 PM, 18 Dec 2008 by Mark Aufflick Permalink