diff options
author | taca <taca@pkgsrc.org> | 2010-03-16 15:36:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-03-16 15:36:39 +0000 |
commit | 0b2bc654010b4b4f6faaa87a3841ea2feb5399f8 (patch) | |
tree | b6b582a6a8c6d6f688828c8e001ea72bbc6883b9 /www | |
parent | d2d6b33efe83a85f2715f127179f5bc296262d62 (diff) | |
download | pkgsrc-0b2bc654010b4b4f6faaa87a3841ea2feb5399f8.tar.gz |
Use PKG_PHP_MAJOR_VERS instead of PKG_PHP_VERSION now
since the name of extension only contain major version.
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-php/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/ap-php/Makefile b/www/ap-php/Makefile index 49c81a84f18..7a69e24bba9 100644 --- a/www/ap-php/Makefile +++ b/www/ap-php/Makefile @@ -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 @@ CONFIGURE_ENV+= EXTRA_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q} 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" |