Wed Jan 12 08:15:45 2011 UTC ()
set TZ=UTC to generate PLIST, same as do-install.


(obache)
diff -r1.21 -r1.22 pkgsrc/lang/php/pear.mk

cvs diff -r1.21 -r1.22 pkgsrc/lang/php/pear.mk (expand / switch to unified diff)

--- pkgsrc/lang/php/pear.mk 2011/01/12 08:11:49 1.21
+++ pkgsrc/lang/php/pear.mk 2011/01/12 08:15:45 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: pear.mk,v 1.21 2011/01/12 08:11:49 obache Exp $ 1# $NetBSD: pear.mk,v 1.22 2011/01/12 08:15:45 obache Exp $
2# 2#
3# This Makefile fragment is intended to be included by packages that build 3# This Makefile fragment is intended to be included by packages that build
4# and install pear packages. 4# and install pear packages.
5# 5#
6# If you don't know what pear is, you can visit: http://pear.php.net/ 6# If you don't know what pear is, you can visit: http://pear.php.net/
7# 7#
8# PEAR_CMD this is the actual script to execute to install the 8# PEAR_CMD this is the actual script to execute to install the
9# package. 9# package.
10# 10#
11# PEAR_LIB directory under ${PREFIX} where Pear modules are installed 11# PEAR_LIB directory under ${PREFIX} where Pear modules are installed
12# 12#
13 13
14.if !defined(_PEAR_PACKAGE_MK) 14.if !defined(_PEAR_PACKAGE_MK)
@@ -30,27 +30,27 @@ DIST_SUBDIR= pear @@ -30,27 +30,27 @@ DIST_SUBDIR= pear
30HOMEPAGE?= http://pear.php.net/package/${DISTNAME:C/-.*//} 30HOMEPAGE?= http://pear.php.net/package/${DISTNAME:C/-.*//}
31 31
32DEPENDS+= ${PHP_PKG_PREFIX}-pear-[0-9]*:../../lang/pear 32DEPENDS+= ${PHP_PKG_PREFIX}-pear-[0-9]*:../../lang/pear
33 33
34PEAR_CMD= ${PREFIX}/bin/pear 34PEAR_CMD= ${PREFIX}/bin/pear
35PEAR_LIB= lib/php 35PEAR_LIB= lib/php
36.if ${_USE_DESTDIR} != "no" 36.if ${_USE_DESTDIR} != "no"
37PEAR_DESTDIR= -P ${DESTDIR} -f 37PEAR_DESTDIR= -P ${DESTDIR} -f
38.endif 38.endif
39 39
40# Dynamic PLIST, generated via a helper PHP script, which use registry. 40# Dynamic PLIST, generated via a helper PHP script, which use registry.
41PEAR_GENERATE_PLIST= \ 41PEAR_GENERATE_PLIST= \
42 ${ECHO} "@comment The following lines are automatically generated"; \ 42 ${ECHO} "@comment The following lines are automatically generated"; \
43 ${SETENV} PEAR_LIB=${PEAR_LIB:Q} WRKSRC=${WRKSRC:Q} \ 43 ${SETENV} PEAR_LIB=${PEAR_LIB:Q} WRKSRC=${WRKSRC:Q} TZ=UTC \
44 ${INSTALL_ENV} PREFIX=${PREFIX:Q} \ 44 ${INSTALL_ENV} PREFIX=${PREFIX:Q} \
45 ${PREFIX}/bin/php -d include_path=".:${PREFIX}/lib/php" \ 45 ${PREFIX}/bin/php -d include_path=".:${PREFIX}/lib/php" \
46 -d log_errors=On -d display_errors=Off \ 46 -d log_errors=On -d display_errors=Off \
47 -C -n ${PKGDIR}/../../lang/php/pear_plist.php; 47 -C -n ${PKGDIR}/../../lang/php/pear_plist.php;
48GENERATE_PLIST+= ${PEAR_GENERATE_PLIST} 48GENERATE_PLIST+= ${PEAR_GENERATE_PLIST}
49 49
50NO_BUILD= yes 50NO_BUILD= yes
51 51
52post-extract: 52post-extract:
53 @cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml package.xml 53 @cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml package.xml
54 54
55do-install: 55do-install:
56 cd ${WRKSRC} && ${SETENV} TZ=UTC \ 56 cd ${WRKSRC} && ${SETENV} TZ=UTC \