ports/91151: [PATCH] misc/tinderbox: correct PHP depends.

Andrey Slusar anray at FreeBSD.org
Sat Dec 31 23:10:06 UTC 2005


>Number:         91151
>Category:       ports
>Synopsis:       [PATCH] misc/tinderbox: correct PHP depends.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 31 23:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 6.0-STABLE FreeBSD 6.0-STABLE #1: Sat Dec 24 22:48:05 EET 2005 anray at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	* Correct PHP depends.
	* Change not needed includes bsd.port.pre.mk and bsd.port.post.mk to
	  bsd.port.mk(now OPTIONS work in bsd.port.mk).
>How-To-Repeat:
	
>Fix:

--- tinderbox.diff begins here ---
Index: ports/misc/tinderbox/Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/tinderbox/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/misc/tinderbox/Makefile	26 Dec 2005 23:00:04 -0000	1.3
+++ ports/misc/tinderbox/Makefile	31 Dec 2005 22:57:50 -0000
@@ -23,18 +23,18 @@
 
 NO_BUILD=	yes
 USE_APACHE=	yes
-USE_PHP=	pgsql mysql session
+USE_PHP=	session
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-.include <bsd.port.pre.mk>
-
 .if defined(WITH_PGSQL)
+USE_PHP+=	pgsql
 USE_PGSQL=	yes
 RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
 .endif
 
 .if defined(WITH_MYSQL)
+USE_PHP+=	mysql
 USE_MYSQL=	yes
 RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
 .endif
@@ -51,4 +51,4 @@
 post-install:
 	${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- tinderbox.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list