Fix "pkg_add -r perl" for 5.2-CURRENT (and later)

David O'Brien obrien at freebsd.org
Mon Mar 1 06:54:40 PST 2004


On Mon, Mar 01, 2004 at 04:08:29PM +0300, Sergey Akifyev wrote:
> Hello!
> 
> Congratulations, you just broke lang/perl5 Makefile!
> 
> #make
> "Makefile", line 26: Malformed conditional (${OSVERSION} >= 502100)
> "Makefile", line 26: Need an operator
> "Makefile", line 28: if-less endif
> "Makefile", line 28: Need an operator
> make: fatal errors encountered -- cannot continue
> 
> Here's suggested patch:

Patch won't work -- .include <bsd.port.pre.mk> needs to be before the
${OSVERSION} use.  Fixing now.



More information about the freebsd-ports mailing list