From antonio@corp.grupos.com.br  Fri Aug 27 23:06:53 2004
Return-Path: <antonio@corp.grupos.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 88E0616A4CE; Fri, 27 Aug 2004 23:06:53 +0000 (GMT)
Received: from out01.grupos.com.br (out01.grupos.com.br [200.203.183.77])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 0F15F43D6A; Fri, 27 Aug 2004 23:06:51 +0000 (GMT)
	(envelope-from antonio@corp.grupos.com.br)
Received: from corp.grupos.com.br (unknown [150.162.166.55])
	by out01.grupos.com.br (Postfix) with ESMTP id E70251A85FC;
	Fri, 27 Aug 2004 20:06:48 -0300 (BRT)
Received: by corp.grupos.com.br (Postfix, from userid 1010)
	id 83C8520A9A; Fri, 27 Aug 2004 20:06:47 -0300 (BRT)
Message-Id: <20040827230647.83C8520A9A@corp.grupos.com.br>
Date: Fri, 27 Aug 2004 20:06:47 -0300 (BRT)
From: Antnio Carlos Venncio Jnior <antonio@php.net>
Reply-To: Antnio Carlos Venncio Jnior <antonio@php.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Thierry Thomas <thierry@FreeBSD.org>
Subject: [MAINTAINER UPDATE] sysutils/pear-Log
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71053
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] sysutils/pear-Log
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 27 23:10:09 GMT 2004
>Closed-Date:    Tue Aug 31 15:02:48 GMT 2004
>Last-Modified:  Tue Aug 31 15:02:48 GMT 2004
>Originator:     Antnio Carlos Venncio Jnior
>Release:        FreeBSD 5.3-BETA1 i386
>Organization:
>Environment:
System: FreeBSD antonio.grupos.com.br 5.3-BETA1 FreeBSD 5.3-BETA1 #4: Wed Aug 25 09:57:05 BRT 2004 root@antonio.grupos.com.br:/usr/src/sys/i386/compile/ANTONIO i386
>Description:
+ enable OPTIONS feature
+ fix BUILD_DEPENDS
>How-To-Repeat:
>Fix:

--- Makefile.old	Fri Aug 27 18:38:43 2004
+++ Makefile	Fri Aug 27 19:53:18 2004
@@ -12,8 +12,25 @@
 MAINTAINER=	antonio@php.net
 COMMENT=	PEAR logging utilities
 
-BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${BUILD_DEPENDS}
+
+OPTIONS=	PEAR_DB "Install PEAR::DB" off \
+		PHP_SQLITE  "Install sqlite PHP extension (recommended)" on
+
+OPTIONSFILE=	pear-Log
+
+.if exists(${OPTIONSFILE})
+.include "${OPTIONSFILE}"
+.endif
+
+.if defined(WITH_PEAR_DB)
+BUILD_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+.endif
+
+.if defined(WITH_PHP_SQLITE)
+USE_PHP=	sqlite
+.endif
 
 FILES=		Log.php Log/composite.php Log/console.php Log/display.php	\
 		Log/error_log.php Log/file.php Log/mail.php Log/mcal.php	\

--- pkg-descr.old	Fri Aug 27 19:57:10 2004
+++ pkg-descr	Fri Aug 27 19:59:50 2004
@@ -1,6 +1,6 @@
-PEAR Log framework providing an abstracted logging system.
+PEAR::Log framework provides an abstracted logging system. 
 
-It supports logging to console, file, syslog, SQL, mail, and mcal targets.
+It supports logging to console, file, syslog, SQL, Sqlite, mail and mcal targets.
 It also provides a subject - observer mechanism.
 
 WWW: http://pear.php.net/package/Log
>Release-Note:
>Audit-Trail:
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) ? 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun Aug 29 11:32:58 GMT 2004 
Responsible-Changed-Why:  
Handle. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71053 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Tue Aug 31 15:02:35 GMT 2004 
State-Changed-Why:  
Revised patch submitted privately was committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71053 
>Unformatted:
