| @@ -1,21 +1,27 @@ | | | @@ -1,21 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.9 2013/04/08 11:17:21 rodent Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2013/12/08 22:34:33 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | MODNAME= suhosin | | 4 | MODNAME= suhosin |
5 | DISTNAME= suhosin-${PECL_VERSION} | | 5 | DISTNAME= suhosin-${PECL_VERSION} |
6 | PECL_VERSION= 0.9.33 | | 6 | PECL_VERSION= 0.9.33 |
7 | PECL_LEGACY_VERSION_SCHEME= yes | | 7 | PECL_LEGACY_VERSION_SCHEME= yes |
8 | CATEGORIES= www | | 8 | CATEGORIES= www |
9 | MASTER_SITES= http://download.suhosin.org/ | | 9 | MASTER_SITES= http://download.suhosin.org/ |
10 | | | 10 | |
11 | MAINTAINER= cg@cgall.de | | 11 | MAINTAINER= cg@cgall.de |
12 | HOMEPAGE= http://www.hardened-php.net/suhosin/index.html | | 12 | HOMEPAGE= http://www.hardened-php.net/suhosin/index.html |
13 | COMMENT= Advanced protection system for PHP installations | | 13 | COMMENT= Advanced protection system for PHP installations |
14 | | | 14 | |
15 | # There is no patch for PHP 5.4 yet(?). | | 15 | # There is no patch for PHP 5.4 yet(?). |
16 | PHP_VERSIONS_ACCEPTED= 53 | | 16 | PHP_VERSIONS_ACCEPTED= 53 |
17 | | | 17 | |
18 | CONFIGURE_ARGS= --enable-${MODNAME} | | 18 | CONFIGURE_ARGS= --enable-${MODNAME} |
19 | | | 19 | |
20 | .include "../../lang/php/ext.mk" | | 20 | .include "../../lang/php/ext.mk" |
| | | 21 | |
| | | 22 | .include "../../mk/compiler.mk" |
| | | 23 | .if !empty(PKGSRC_COMPILER:Mclang) && ${_PHP_VERSION} == "53" |
| | | 24 | CFLAGS+= -Wno-error=return-type |
| | | 25 | .endif |
| | | 26 | |
21 | .include "../../mk/bsd.pkg.mk" | | 27 | .include "../../mk/bsd.pkg.mk" |