ports/71053: [MAINTAINER UPDATE] sysutils/pear-Log
Antônio Carlos Venâncio Júnior
antonio at php.net
Mon Aug 30 12:09:57 UTC 2004
Pav,
Pav Lucistnik wrote:
> 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
here:
# more /usr/ports/lang/php5-extensions/Makefile
> .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.
Here again:
# more /usr/ports/lang/php5-extensions/Makefile
> 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.
Can I send you the patch?
--
Cya
Antônio
echo antonio php net | sed 's/ /@/;s/ /./g'
FreeBSD/OpenBSD | PHP/MySQL/Python | PGP Key ID 0x5BBEB073
"Can't buy what I want because its FREE!" - Pearl Jam
More information about the freebsd-ports-bugs
mailing list