pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php Added support for installation of extensions ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/303a806f0f7e
branches:  trunk
changeset: 529868:303a806f0f7e
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Mon Jun 11 17:59:23 2007 +0000

description:
Added support for installation of extensions to DESTDIR.

diffstat:

 lang/php/ext.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r afb2215ab22d -r 303a806f0f7e lang/php/ext.mk
--- a/lang/php/ext.mk   Mon Jun 11 17:45:30 2007 +0000
+++ b/lang/php/ext.mk   Mon Jun 11 17:59:23 2007 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index