| @@ -1,24 +1,22 @@ | | | @@ -1,24 +1,22 @@ |
1 | # $NetBSD: Makefile,v 1.42 2018/07/26 12:39:19 manu Exp $ | | 1 | # $NetBSD: Makefile,v 1.43 2018/07/27 07:08:09 manu Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION} | | 3 | PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION} |
4 | COMMENT= Apache (${PKG_APACHE}) module for ${PKG_PHP} | | 4 | COMMENT= Apache (${PKG_APACHE}) module for ${PKG_PHP} |
5 | | | 5 | |
6 | CONFLICTS= ap-php-[0-9]* | | 6 | CONFLICTS= ap-php-[0-9]* |
7 | | | 7 | |
8 | USE_TOOLS+= lex pkg-config | | 8 | USE_TOOLS+= lex pkg-config |
9 | | | 9 | |
10 | GCC_REQD+= 6.2 | | | |
11 | | | | |
12 | APACHE_MODULE= YES | | 10 | APACHE_MODULE= YES |
13 | | | 11 | |
14 | FORTIFY_SUPPORTED= no | | 12 | FORTIFY_SUPPORTED= no |
15 | SSP_SUPPORTED= no | | 13 | SSP_SUPPORTED= no |
16 | | | 14 | |
17 | .include "../../lang/php/phpversion.mk" | | 15 | .include "../../lang/php/phpversion.mk" |
18 | .include "${PHPPKGSRCDIR}/Makefile.php" | | 16 | .include "${PHPPKGSRCDIR}/Makefile.php" |
19 | | | 17 | |
20 | MESSAGE_SUBST+= PKG_PHP_MAJOR_VERS=${PKG_PHP_MAJOR_VERS} | | 18 | MESSAGE_SUBST+= PKG_PHP_MAJOR_VERS=${PKG_PHP_MAJOR_VERS} |
21 | | | 19 | |
22 | # Ensure we export symbols in the linked shared object. | | 20 | # Ensure we export symbols in the linked shared object. |
23 | CONFIGURE_ENV+= EXTRA_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q} | | 21 | CONFIGURE_ENV+= EXTRA_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q} |
24 | | | 22 | |