summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-06-17 11:46:28 +0000
committerjoerg <joerg@pkgsrc.org>2013-06-17 11:46:28 +0000
commitbcc5938e2354be1b220107b64ce8de5c3bcfd959 (patch)
tree3518c7f3c3dadac708c14c6910175fd525a3d762
parent8b60b30b4aefb3e3be42848219ba54e4e57f212b (diff)
downloadpkgsrc-bcc5938e2354be1b220107b64ce8de5c3bcfd959.tar.gz
Yet another broken copy of ancient telnet code.
-rw-r--r--security/srp_client/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/srp_client/Makefile b/security/srp_client/Makefile
index 805a4a8acc2..f91217d2d18 100644
--- a/security/srp_client/Makefile
+++ b/security/srp_client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2012/10/23 18:16:59 asau Exp $
+# $NetBSD: Makefile,v 1.41 2013/06/17 11:46:28 joerg Exp $
DISTNAME= srp-1.4.4
PKGNAME= srp-client-1.4.4
@@ -55,5 +55,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ftp/ftp/ftp ${DESTDIR}${PREFIX}/bin/srpftp
${INSTALL_DATA} ${WRKSRC}/ftp/ftp/ftp.M ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/srpftp.1
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -Wno-error=return-type
+.endif
+
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"