Date: Mon, 30 Aug 2004 09:09:58 -0300 From: =?ISO-8859-2?Q?Ant=F4nio_Carlos_Ven=E2ncio_J=FAnior?= <antonio@php.net> To: pav@FreeBSD.org Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/71053: [MAINTAINER UPDATE] sysutils/pear-Log Message-ID: <41331916.1030200@php.net> In-Reply-To: <1093866081.76378.23.camel@pav.hide.vol.cz> References: <200408291134.i7TBYHw7062133@freefall.freebsd.org> <41330FD3.2000805@php.net> <1093866081.76378.23.camel@pav.hide.vol.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41331916.1030200>