pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php Fix installation of php extensions on HPUX.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3df8dccb89c
branches: trunk
changeset: 533023:a3df8dccb89c
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Sep 07 13:26:20 2007 +0000
description:
Fix installation of php extensions on HPUX.
diffstat:
lang/php/ext.mk | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r d65aca3e19c6 -r a3df8dccb89c lang/php/ext.mk
--- a/lang/php/ext.mk Fri Sep 07 12:54:45 2007 +0000
+++ b/lang/php/ext.mk Fri Sep 07 13:26:20 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.17 2007/06/11 17:59:23 heinz Exp $
+# $NetBSD: ext.mk,v 1.18 2007/09/07 13:26:20 tnn Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@@ -61,6 +61,12 @@
MESSAGE_SRC+= ${.CURDIR}/MESSAGE
.endif
+.if ${OBJECT_FMT} == "SOM"
+SHLIB_SUFFIX= sl
+.else
+SHLIB_SUFFIX= so
+.endif
+
pre-configure: phpize-module
phpize-module:
@@ -80,7 +86,7 @@
do-module-install:
${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/${PHP_EXTENSION_DIR}
- ${INSTALL_DATA} ${MODULESDIR}/${PKGMODNAME}.so \
+ ${INSTALL_DATA} ${MODULESDIR}/${PKGMODNAME}.${SHLIB_SUFFIX} \
${DESTDIR:Q}${PREFIX:Q}/${PHP_EXTENSION_DIR}
.if defined(USE_PHP_EXT_PATCHES)
Home |
Main Index |
Thread Index |
Old Index