Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 13:41:21 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        antonio@php.net
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/71053: [MAINTAINER UPDATE] sysutils/pear-Log
Message-ID:  <1093866081.76378.23.camel@pav.hide.vol.cz>
In-Reply-To: <41330FD3.2000805@php.net>
References:  <200408291134.i7TBYHw7062133@freefall.freebsd.org> <41330FD3.2000805@php.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-6PS/ueaLXKvAnXf9TIYm
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

V po, 30. 08. 2004 v 13:30, Ant=F4nio Carlos Ven=E2ncio J=FAnior p=ED=B9e:

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

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

The number you dialed is imaginary.
Please turn your phone by 90 degrees and try again.

--=-6PS/ueaLXKvAnXf9TIYm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBMxJhntdYP8FOsoIRAlteAKDNrjZ/+x8HzUPp+j3FPEhl9pKFtgCfcTZH
3O8MkVVITLYIabRIbMwP09U=
=aMAm
-----END PGP SIGNATURE-----

--=-6PS/ueaLXKvAnXf9TIYm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1093866081.76378.23.camel>