Sun Dec 8 22:34:33 2013 UTC ()
Ignore missing return value when building against PHP 5.3.


(joerg)
diff -r1.9 -r1.10 pkgsrc/security/php-suhosin/Makefile

cvs diff -r1.9 -r1.10 pkgsrc/security/php-suhosin/Makefile (expand / switch to unified diff)

--- pkgsrc/security/php-suhosin/Makefile 2013/04/08 11:17:21 1.9
+++ pkgsrc/security/php-suhosin/Makefile 2013/12/08 22:34:33 1.10
@@ -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
4MODNAME= suhosin 4MODNAME= suhosin
5DISTNAME= suhosin-${PECL_VERSION} 5DISTNAME= suhosin-${PECL_VERSION}
6PECL_VERSION= 0.9.33 6PECL_VERSION= 0.9.33
7PECL_LEGACY_VERSION_SCHEME= yes 7PECL_LEGACY_VERSION_SCHEME= yes
8CATEGORIES= www 8CATEGORIES= www
9MASTER_SITES= http://download.suhosin.org/ 9MASTER_SITES= http://download.suhosin.org/
10 10
11MAINTAINER= cg@cgall.de 11MAINTAINER= cg@cgall.de
12HOMEPAGE= http://www.hardened-php.net/suhosin/index.html 12HOMEPAGE= http://www.hardened-php.net/suhosin/index.html
13COMMENT= Advanced protection system for PHP installations 13COMMENT= 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(?).
16PHP_VERSIONS_ACCEPTED= 53 16PHP_VERSIONS_ACCEPTED= 53
17 17
18CONFIGURE_ARGS= --enable-${MODNAME} 18CONFIGURE_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"
 24CFLAGS+= -Wno-error=return-type
 25.endif
 26
21.include "../../mk/bsd.pkg.mk" 27.include "../../mk/bsd.pkg.mk"