pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ap-php www/ap-php: fix installation problem with p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30d0107faf45
branches:  trunk
changeset: 448340:30d0107faf45
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 07 13:45:38 2021 +0000

description:
www/ap-php: fix installation problem with php80

diffstat:

 www/ap-php/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d879544099cb -r 30d0107faf45 www/ap-php/Makefile
--- a/www/ap-php/Makefile       Sun Mar 07 13:45:18 2021 +0000
+++ b/www/ap-php/Makefile       Sun Mar 07 13:45:38 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2020/11/05 09:09:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.49 2021/03/07 13:45:38 taca Exp $
 
 PKGNAME=               ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION}
 PKGREVISION=           5
@@ -30,6 +30,9 @@
        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;   \
+       elif [ -f ${WRKSRC}/.libs/libphp.so ]; then \
+               ${INSTALL_DATA} ${WRKSRC}/.libs/libphp.so \
+                       ${DESTDIR}${PREFIX}/lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so;   \
        fi
 
 .include "${PHPPKGSRCDIR}/buildlink3.mk"



Home | Main Index | Thread Index | Old Index