From d2d6b33efe83a85f2715f127179f5bc296262d62 Mon Sep 17 00:00:00 2001 From: taca Date: Tue, 16 Mar 2010 15:34:01 +0000 Subject: Explicitly setenv TZ=UTC when installing with pear since pear of PHP 5.3.2 check system's timezone and produce useless warnings. --- lang/php/pear.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lang/php') 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 -- cgit v1.2.3