Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 22:15:33 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Roman Neuhauser <neuhauser@sigpipe.cz>
Cc:        freebsd-ports-bugs@FreeBSD.org, Pav Lucistnik <pav@FreeBSD.org>, bug-followup@FreeBSD.org
Subject:   Re: ports/86098: [PATCH] devel/pear-PEAR/Makefile.common: allow use by foreign packages
Message-ID:  <20050915201533.GG29366@graf.pompo.net>
In-Reply-To: <20050915122650.GC38644@isis.sigpipe.cz>
References:  <200509141920.j8EJKAos071104@freefall.freebsd.org> <432892A8.20705@php.net> <20050914212901.GI19945@isis.sigpipe.cz> <4328A112.1040007@php.net> <20050914224412.GJ19945@isis.sigpipe.cz> <432964A3.9010207@php.net> <20050915122650.GC38644@isis.sigpipe.cz>

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

Le Jeu 15 sep 05 à 14:26:50 +0200, Roman Neuhauser <neuhauser@sigpipe.cz>
 écrivait :
> # antonio@php.net / 2005-09-15 09:10:11 -0300:
> > Roman Neuhauser wrote:
> > ># antonio@php.net / 2005-09-14 19:15:46 -0300:
> > >>Roman Neuhauser wrote:
> > >>># antonio@php.net / 2005-09-14 18:14:16 -0300:
> > >>>>	SimpleTest isn't a PEAR package and I don't think it's a good idea 
> > >>>>	have "alien" packages using Makefile.common.
> > >>>
> > >>>  Why?
> > >>
> > >>	Because it's not part of the PEAR PHP Framework.
> > >
> > >    Is there a *technical* reason?
> > 
> > 	No. It's a semantical reason.
> 
>     Ok, putting Makefile.common aside for a while, what's everybody's
>     position on these two questions (simple yes/no will do):
> 
>     * should pear-compatible packages that don't come from pear.php.net
>       get installed under ${PEARDIR}?

If by "pear-compatible" you mean that it is listed by 'pear list' after
installation, yes, of course, it should be installed under ${PEARDIR} by
default. If pear-compatible, it may have dependencies against "genuine"
pear packages, and the user won't have to add another path_include.

If it can use the existing Makefile.common, it's fine: less duplicate
code, less bugs, easier to maintain.

>     * should pear-compatible packages that don't come from pear.php.net
>       get "PKGNAMEPREFIX=pear-"?

IMHO, no. For example, all Horde's pear-compatible packages (i.e. those
available under <http://cvs.horde.org/framework/>) are already prefixed
by "Horde_".

Note: at this time, they are not installed by the FreeBSD ports system,
but this might change with future versions.

     * should pear-compatible packages belong to the pear CATEGORIES?

I personnaly don't care, but if we don't use "pear", a new category
"php" would be useful.

> > 	Keep in mind that you will have to chosse between pear-* ports 
> > structure or the PEAR CLI.
> 
>     Then I wonder why we bother with installing package.xml files.

I suppose that we could remove it after 'pear install', or even run
'pear install' from ${WRKSRC}/package.xml: it's not even used by
'pear info'.

Regards,
-- 
Th. Thomas.



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