diff options
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" |