diff options
author | heinz <heinz@pkgsrc.org> | 2007-06-11 17:59:23 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-06-11 17:59:23 +0000 |
commit | 1043001008135b837cdb7a746cac11db9d6a9644 (patch) | |
tree | f7b262235418031982785e55f436d666c568df3e /lang/php | |
parent | 7bb379e7feb605779b0b8a347793f9e72d2ecefd (diff) | |
download | pkgsrc-1043001008135b837cdb7a746cac11db9d6a9644.tar.gz |
Added support for installation of extensions to DESTDIR.
Diffstat (limited to 'lang/php')
-rw-r--r-- | lang/php/ext.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk index 8f4bb916ec4..4ef6ddaa13a 100644 --- a/lang/php/ext.mk +++ b/lang/php/ext.mk @@ -1,4 +1,4 @@ -# $NetBSD: ext.mk,v 1.16 2006/07/10 20:53:43 sketch Exp $ +# $NetBSD: ext.mk,v 1.17 2007/06/11 17:59:23 heinz Exp $ # # PHP extension package framework, for both PECL and bundled PHP extensions. # @@ -79,9 +79,9 @@ phpize-module: do-install: do-module-install do-module-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${PHP_EXTENSION_DIR} + ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/${PHP_EXTENSION_DIR} ${INSTALL_DATA} ${MODULESDIR}/${PKGMODNAME}.so \ - ${PREFIX}/${PHP_EXTENSION_DIR} + ${DESTDIR:Q}${PREFIX:Q}/${PHP_EXTENSION_DIR} .if defined(USE_PHP_EXT_PATCHES) PATCHDIR= ${.CURDIR}/${PHPPKGSRCDIR}/patches |