pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap-php Use PKG_PHP_MAJOR_VERS instead of PKG_PHP_V...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b66c96fc435
branches: trunk
changeset: 573409:3b66c96fc435
user: taca <taca%pkgsrc.org@localhost>
date: Tue Mar 16 15:36:39 2010 +0000
description:
Use PKG_PHP_MAJOR_VERS instead of PKG_PHP_VERSION now
since the name of extension only contain major version.
diffstat:
www/ap-php/Makefile | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (28 lines):
diff -r a791e1b76b6d -r 3b66c96fc435 www/ap-php/Makefile
--- a/www/ap-php/Makefile Tue Mar 16 15:34:01 2010 +0000
+++ b/www/ap-php/Makefile Tue Mar 16 15:36:39 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2010/02/21 08:01:46 obache Exp $
+# $NetBSD: Makefile,v 1.23 2010/03/16 15:36:39 taca Exp $
#
PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_BASE_VERS}
@@ -22,12 +22,12 @@
INSTALLATION_DIRS= lib/httpd
do-install:
- if [ -f ${WRKSRC}/.libs/libphp${PKG_PHP_VERSION}.so ]; then \
- ${INSTALL_DATA} ${WRKSRC}/.libs/libphp${PKG_PHP_VERSION}.so \
- ${DESTDIR}${PREFIX}/lib/httpd/mod_php${PKG_PHP_VERSION}.so; \
- elif [ -f ${WRKSRC}/libs/libphp${PKG_PHP_VERSION}.so ]; then \
- ${INSTALL_DATA} ${WRKSRC}/libs/libphp${PKG_PHP_VERSION}.so \
- ${DESTDIR}${PREFIX}/lib/httpd/mod_php${PKG_PHP_VERSION}.so; \
+ if [ -f ${WRKSRC}/.libs/libphp${PKG_PHP_MAJOR_VERS}.so ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/.libs/libphp${PKG_PHP_MAJOR_VERS}.so \
+ ${DESTDIR}${PREFIX}/lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so; \
+ elif [ -f ${WRKSRC}/libs/libphp${PKG_PHP_MAJOR_VERS}.so ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/libs/libphp${PKG_PHP_MAJOR_VERS}.so \
+ ${DESTDIR}${PREFIX}/lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so; \
fi
.include "${PHPPKGSRCDIR}/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index