summaryrefslogtreecommitdiff
path: root/databases/php-redis
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-23 18:39:09 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-23 18:39:09 +0000
commit370b7cff34f8295ddb569da51c959cd54270ea01 (patch)
treeec0c3c5fd5610ca297e892edee65369a39add30d /databases/php-redis
parentf2d740af4a2435f56e335c1e2866240663690bb6 (diff)
downloadpkgsrc-370b7cff34f8295ddb569da51c959cd54270ea01.tar.gz
Ignore the missing return values from the multiple layers of macros.
Diffstat (limited to 'databases/php-redis')
-rw-r--r--databases/php-redis/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/php-redis/Makefile b/databases/php-redis/Makefile
index 16bcf9e3d66..b54421ef4e5 100644
--- a/databases/php-redis/Makefile
+++ b/databases/php-redis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2012/10/02 21:25:40 asau Exp $
+# $NetBSD: Makefile,v 1.5 2013/05/23 18:39:09 joerg Exp $
#
MODNAME= redis
@@ -16,5 +16,10 @@ LICENSE= php
WRKSRC= ${WRKDIR}/nicolasff-phpredis-43bc590
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -Wno-error=return-type
+.endif
+
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"