diff options
-rw-r--r-- | security/srp_client/Makefile | 8 |
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" |