Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 16:03:07 -0400
From:      Andy Greenwood <greenwood.andy@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: new porter - question about portlint error
Message-ID:  <46C5FEFB.1090704@gmail.com>
In-Reply-To: <46C5FC86.5050209@gmail.com>
References:  <46C5FC86.5050209@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy Greenwood wrote:
> Hi everyone. I've been using FreeBSD for about a year now. I wanted to 
> use this cpan module 
> (http://search.cpan.org/~miker/Net-DNSBL-MultiDaemon-0.18/MultiDaemon.pm) 
> but noticed it wasn't in the port collection. I know that it's not 
> really a big deal to add it manually, but I thought I'd take the 
> opportunity to learn about the porting process. I've got it to where 
> it'll build and uninstall, and I think it's even doing so cleanly, but 
> I tried to run portlint to do some tougher tests and I got this error.
>
> [root@zeus p5-Net-DNSBL-MultiDaemon]$ portlint -A .
> FATAL: breaks INDEX (Bareword found where operator expected at -e line 
> 1, near "/usr/ports"     (Missing operator before ports?) Bareword 
> found where operator expected at -e line 1, near "/usr/ports"     
> (Missing operator before ports?) syntax error at -e line 1, near "pm:" 
> Unmatched right curly bracket at -e line 1, at end of line Execution 
> of -e aborted due to compilation errors.).
> 1 fatal error and 0 warnings found.

Argh. I found it. I had the following line in my Makefile

                
$SITE_PERL}/mach/Net/DNS/ToolKit.pm:${PORTSDIR}/dns/p5-Net-DNS-ToolKit

I fixed it and it said everything looked fine.
>
> Can anyone point me in the right direction? Also, I think this should 
> go in the mail category, but it's basically a multiplexer for dnsbl 
> lookups, so it could pretty easily go under the dns category as well. 
> Any pointers on choosing the right place to put it?
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C5FEFB.1090704>