cvs commit: ports/mail/p5-Mail-SpamAssassin Makefile distinfo pkg-plist

Erwin Lansing erwin at FreeBSD.org
Mon Jan 19 11:06:27 PST 2004


On Mon, Jan 19, 2004 at 07:51:29PM +0100, Mathieu Arnold wrote:
> +-Le 19/01/2004 10:45 -0800, David O'Brien écrivait :
> | 
> | Well, I guess that opens up a discussion then.  I don't use many "p5"
> | ports, but I certainly do use SpamAssassin daily.  So I hadn't noticed
> | that they go against the Porters Handbook and 'portlint'.  It is
> | important to keep things all in the proper section so a user like me can
> | know what dependencies there are.  Often I install dependencies from a
> | precompiled package before I add local patches to the "leaf" port that I
> | ultimately want installed.
> 
> Well, portlint will complain if you do things badly, but it won't complain
> when you do just that.
> perl ports have been done this way for ages, I mean, the normal
> dependencies at the right place, and the dependencies depending on perl
> version at the end. I was told it was the right way to do it when I began
> updating ports, so I though it was the right way.
> 
I'd say it's the only way, so unless someone finds a better way to make
dependencies conditional, this is the right way.

make -V RUN_DEPENDS will give you the dependencies you want after
evaluating the conditions. I would recommend using this instead of
reading the raw Makefile.

-- 
                    _._     _,-'""`-._
Erwin Lansing      (,-.`._,'(       |\`-/|    erwin at lansing.dk
http://droso.org       `-.-' \ )-`( , o o)    erwin at FreeBSD.org
                    -bf-      `-    \`_`"'-
-------------- 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/cvs-all/attachments/20040119/1b4420a8/attachment.bin


More information about the cvs-all mailing list