diff options
author | joerg <joerg@pkgsrc.org> | 2013-06-16 20:42:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-06-16 20:42:46 +0000 |
commit | e2e7547de206da204282ac68b124d660c4a07afb (patch) | |
tree | 189423319328bebf98f106d7c2ac6413fc5a6b1a /net/socks4 | |
parent | 984e68442163220264fb3d333c94522004e265e5 (diff) | |
download | pkgsrc-e2e7547de206da204282ac68b124d660c4a07afb.tar.gz |
No point in cleaning up this ancient cruft, so just make return type
mismatches non-fatal for clang.
Diffstat (limited to 'net/socks4')
-rw-r--r-- | net/socks4/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/socks4/Makefile b/net/socks4/Makefile index aa7a46500fa..abffd8ed4e4 100644 --- a/net/socks4/Makefile +++ b/net/socks4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2012/10/23 17:19:09 asau Exp $ +# $NetBSD: Makefile,v 1.29 2013/06/16 20:42:46 joerg Exp $ # DISTNAME= export.socks.cstc.4.2.2 @@ -32,4 +32,10 @@ post-patch: ${MV} include/socks.h.new include/socks.h @${ECHO} "sockd 0.0.0.0 0.0.0.0" >> ${WRKSRC}/socks.conf +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-error=return-type +.endif + .include "../../mk/bsd.pkg.mk" |