summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-03-16 15:34:01 +0000
committertaca <taca@pkgsrc.org>2010-03-16 15:34:01 +0000
commitd2d6b33efe83a85f2715f127179f5bc296262d62 (patch)
tree33cc65ead472becd55645fdd1c843e203263da0b /lang/php
parent1fa67b754542cbeff076ca2001603d7521bf2922 (diff)
downloadpkgsrc-d2d6b33efe83a85f2715f127179f5bc296262d62.tar.gz
Explicitly setenv TZ=UTC when installing with pear since pear of PHP 5.3.2
check system's timezone and produce useless warnings.
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/pear.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk
index 8a18f9121ae..450d3191b14 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.17 2010/02/03 12:22:18 obache Exp $
+# $NetBSD: pear.mk,v 1.18 2010/03/16 15:34:01 taca Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -52,7 +52,8 @@ post-extract:
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml package.xml
do-install:
- cd ${WRKSRC} && ${PEAR_CMD} "install" ${PEAR_DESTDIR} package.xml || exit 1
+ cd ${WRKSRC} && ${SETENV} TZ=UTC \
+ ${PEAR_CMD} "install" ${PEAR_DESTDIR} package.xml || exit 1
.if ${_USE_DESTDIR} != "no"
CHECK_FILES_SKIP+= ${PREFIX}/lib/php/.channels/.alias/phpdocs.txt