diff options
author | joerg <joerg@pkgsrc.org> | 2013-12-08 22:34:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-12-08 22:34:33 +0000 |
commit | c5289938e43988b37804308ae40d8e9d8f194403 (patch) | |
tree | ab1ba7976d062b2d08a8ef9d9d7c01d178714bd7 /security | |
parent | 4e548cfac3a4350e170c4e436d837339b2228a8b (diff) | |
download | pkgsrc-c5289938e43988b37804308ae40d8e9d8f194403.tar.gz |
Ignore missing return value when building against PHP 5.3.
Diffstat (limited to 'security')
-rw-r--r-- | security/php-suhosin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/php-suhosin/Makefile b/security/php-suhosin/Makefile index 84075f64d70..9ae6ab14275 100644 --- a/security/php-suhosin/Makefile +++ b/security/php-suhosin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/04/08 11:17:21 rodent Exp $ +# $NetBSD: Makefile,v 1.10 2013/12/08 22:34:33 joerg Exp $ # MODNAME= suhosin @@ -18,4 +18,10 @@ PHP_VERSIONS_ACCEPTED= 53 CONFIGURE_ARGS= --enable-${MODNAME} .include "../../lang/php/ext.mk" + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) && ${_PHP_VERSION} == "53" +CFLAGS+= -Wno-error=return-type +.endif + .include "../../mk/bsd.pkg.mk" |