From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 15 20:20:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9600316A41F for ; Thu, 15 Sep 2005 20:20:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 409B143D45 for ; Thu, 15 Sep 2005 20:20:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8FKKHad071734 for ; Thu, 15 Sep 2005 20:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8FKKHhI071733; Thu, 15 Sep 2005 20:20:17 GMT (envelope-from gnats) Date: Thu, 15 Sep 2005 20:20:17 GMT Message-Id: <200509152020.j8FKKHhI071733@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Thierry Thomas Cc: Subject: Re: ports/86098: [PATCH] devel/pear-PEAR/Makefile.common: allow use by foreign packages X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 20:20:17 -0000 The following reply was made to PR ports/86098; it has been noted by GNATS. From: Thierry Thomas To: Roman Neuhauser Cc: Antonio Carlos Venancio Junior , freebsd-ports-bugs@FreeBSD.org, Pav Lucistnik , bug-followup@FreeBSD.org Subject: Re: ports/86098: [PATCH] devel/pear-PEAR/Makefile.common: allow use by foreign packages Date: Thu, 15 Sep 2005 22:15:33 +0200 Hello, Le Jeu 15 sep 05 à 14:26:50 +0200, Roman Neuhauser é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 ) 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.