summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-03-07 13:45:38 +0000
committertaca <taca@pkgsrc.org>2021-03-07 13:45:38 +0000
commit0a1cc42d82af257d2951efa8b46934a44851f7b9 (patch)
treee768b3b01d423bf594f34bda8845791651420315 /www
parentc0cafd0c1a3ab9cbfcc0813e669107036ba160d2 (diff)
downloadpkgsrc-0a1cc42d82af257d2951efa8b46934a44851f7b9.tar.gz
www/ap-php: fix installation problem with php80
Diffstat (limited to 'www')
-rw-r--r--www/ap-php/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/ap-php/Makefile b/www/ap-php/Makefile
index 15debd816ff..eab58e9a110 100644
--- a/www/ap-php/Makefile
+++ b/www/ap-php/Makefile
@@ -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 @@ do-install:
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"