ports/71053: [MAINTAINER UPDATE] sysutils/pear-Log

Pav Lucistnik pav at FreeBSD.org
Mon Aug 30 11:41:24 UTC 2004


V po, 30. 08. 2004 v 13:30, Antônio Carlos Venâncio Júnior píše:

> Pav Lucistnik wrote:
> > Synopsis: [MAINTAINER UPDATE] sysutils/pear-Log
> > 
> > State-Changed-From-To: open->feedback
> > State-Changed-By: pav
> > State-Changed-When: Sun Aug 29 11:32:58 GMT 2004
> > State-Changed-Why: 
> > You can't do this:
> > 
> > +OPTIONSFILE=	pear-Log
> > +
> > 
> > That would create a file in port directory, which is a) bad style,
> > b) impossible with read-only ports tree.
> > 
> > What's wrong with default OPTIONSFILE (/var/db/ports/pear-Log/options) ?
> 
> 	port name is set to Log. If you don't specify it I got and error 
> clamming that its not the "correct dir" (in this case, Log). I've tried 
> to use ${PORT_DBDIR} so I got an "rmdir error" (it tries to rmdir 
> ${PORT_DBDIR}.
> 	THe Porter's Handbook doesn't have documentation about that ...

Mainly, you're not supposed to include OPTIONSFILE directly in your port
makefile. At least I never seen it in existing port. The documented
usage of OPTIONS is to let

.include <bsd.port.pre.mk>

handle it automatically. On the other hand, usage of USE_PHP is
disallowed below inclusion of bsd.port.pre.mk.

I'd suggest not using OPTIONS here, rather use old style WITH/WITHOUT_*
defines and a pre-everything:: target to print info to user about them.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

The number you dialed is imaginary.
Please turn your phone by 90 degrees and try again.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je digit?ln? podepsan? ??st zpr?vy
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20040830/46f23862/attachment.sig>


More information about the freebsd-ports-bugs mailing list