FreeBSD port of SpamAssassin 3.0.0 (continued)

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Sep 24 02:06:14 PDT 2004


On Fri, Sep 24, 2004 at 04:37:05AM -0400, Dan Mahoney, System Admin wrote:
> I've gotten a Makefile mostly tuned for sa3, based on the FreeBSD port 
> makefile for 2.64.  I've added most of the dependencies, but FreeBSD 
> doesn't have ports for Net::SMTP or IP::Country::Fast, so those two 
> features can't be auto-installed unless the ports maintainer comes up with 
> them.

Net::SMTP is provided by the net/p5-Net port.

As far as I can see, there's no mechanism within ports for depending
on a specific version of a perl module.  However you could add a test
into the pre-everything target. eg:

    pre-everything::
    	perl -M'Some::Module qw(1.2.345)'

will cause the build to exit with an error unless at least version
1.2.345 of Some::Module is available.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-perl/attachments/20040924/88133fc8/attachment.bin


More information about the freebsd-perl mailing list