Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 13:26:05 -0300 (BRT)
From:      Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146874: [MAINTAINER] www/ap20-thundercache: port fix
Message-ID:  <201005231626.o4NGQ5Ne004235@main.bh.freebsdbrasil.com.br>
Resent-Message-ID: <201005232206.o4NM6s3P017026@freefall.freebsd.org>

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

>Number:         146874
>Category:       ports
>Synopsis:       [MAINTAINER] www/ap20-thundercache: port fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 22:06:53 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Tracanelli
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
FreeBSD Brasil LTDA
>Environment:
System: FreeBSD main.bh.freebsdbrasil.com.br 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue Jun 16 08:33:51 BRT 2009
>Description:
- Fix port because it was not installing php5-pdo_pgsql depend
- Add php5-pgsql as RUN_DEPEND to minimize PostgreSQL verisioning conflicts
- Bump PORTREVISION

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ap20-thundercache-4.0_5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/ap20-thundercache/Makefile /usr/home/eksffa/thundercache/Makefile
--- /usr/ports/www/ap20-thundercache/Makefile	2010-05-04 21:36:05.000000000 -0300
+++ /usr/home/eksffa/thundercache/Makefile	2010-05-21 22:16:09.000000000 -0300
@@ -7,7 +7,7 @@
 
 PORTNAME=	thundercache
 PORTVERSION=	4.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www
 MASTER_SITES=	http://www.bmsoftware.org/freebsd/ \
 		http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \
@@ -57,16 +57,17 @@
 RUN_DEPENDS+=	postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
 .endif
 
+.if defined(WITH_PHP) && defined(WITH_PGSQL)
+RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
+RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pgsql.so:${PORTSDIR}/databases/php5-pgsql
+.endif
+
 .if defined(WITH_PHP)
-USE_PHP+=	curl pcre bcmath pdo mcrypt mhash session pgsql
+USE_PHP+=	curl pcre bcmath pdo mcrypt mhash session
 .endif
 
 LIB_DEPENDS+=	curl.6:${PORTSDIR}/ftp/curl:install
 
-.if defined(APACHE+PHP) && defined(WITH_PGSQL)
-LIB_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
-.endif
-
 SUB_FILES=	pkg-message log.sh test-deps.sh
 SUB_LIST=	"GREP=${GREP}"
 
--- ap20-thundercache-4.0_5.patch ends here ---

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



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