diff options
Diffstat (limited to 'lang/php73')
-rw-r--r-- | lang/php73/Makefile.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/php73/Makefile.php b/lang/php73/Makefile.php index a7553cf58ce..249845cd509 100644 --- a/lang/php73/Makefile.php +++ b/lang/php73/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.5 2020/11/20 15:34:11 otis Exp $ +# $NetBSD: Makefile.php,v 1.6 2020/11/21 19:43:57 otis Exp $ # used by lang/php73/Makefile # used by www/ap-php/Makefile # used by www/php-fpm/Makefile @@ -112,6 +112,7 @@ CFLAGS+= -DDISABLE_FILTER_URL PLIST_VARS+= embed +.if !empty(PKGNAME:Mphp-[7-9]*) .if !empty(PKG_OPTIONS:Mphp-embed) CONFIGURE_ARGS+= --enable-embed INSTALLATION_DIRS+= include/php/sapi/embed @@ -123,6 +124,7 @@ post-install-embed: ${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/ ${INSTALL_LIB} ${WRKSRC}/libs/libphp7.so ${DESTDIR}${PREFIX}/lib/ .endif +.endif DL_AUTO_VARS= yes .include "../../mk/dlopen.buildlink3.mk" |