summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2013-06-17 11:46:28 +0000
committerjoerg <joerg>2013-06-17 11:46:28 +0000
commite34baddc46a43a0cd0de5d01c5585371b0a3f27d (patch)
tree3518c7f3c3dadac708c14c6910175fd525a3d762
parent13b8ab4be1a607aa4d292621d04087dd93921aa0 (diff)
downloadpkgsrc-e34baddc46a43a0cd0de5d01c5585371b0a3f27d.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"