Sounds like you're trying to mix current ports with a stable base: http://www.openbsd.org/faq/faq15.html#PkgFAQ
-Nick Chuck Robey wrote:
I have a new OpenBSD-4.5 system. I've got an updated copy of the cvs archive, so I'm sure I have a *very* recent copy of the ports. I wanted a couple of ports installed before I began my main work on this new system, and that was (1) cvsup (this worked fine) and (2) a browser. I picked www/seamonkey. Among other things, the seamonkey port seems to be *requiring* autoconf-2.62. Apparently, which all of the other autoconf ports installed just fine, autoconf-2.62 won't build, it has problems with a macro on line 1641 of lib/m4sugar/m4sugar.m4. I don't understand those complicated macros too well, I can't troubleshoot it. I tried modifying the autoconf port so that it didn't really want the 2.62 version, but it doesn't matter, www/seamonkey is adamant in needing autoconf-2.62. I read into the seamonkey Makefile, it seems to set AUTOCONF_VERSION to 2.13, and I set that into my environment, but it doesn't matter, seamonkey is still requiring version 2.62. I even tried cleaning out the first build of seamonkey (dind't finish, but I was curious if some environment had stayed around somehow) but it made no difference, it STILL wants autoconf-2.62. I have very little experience at this point with OpenBSD ports, so I don't know what else to do. I did check the m4sugar.m4 files from other autoconf versions, but it seems that the m4sugar.m4 file has been radically changed, I can't just borrow some lines from (say) autoconf-2.61, it won't work, the file is too radically modified. I really need some advice. I sure hope I've guessed correctly on what list to ask help from.