Date: Tue, 9 Apr 2019 14:32:57 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498477 - head/security/yubico-piv-tool Message-ID: <201904091432.x39EWvaO097640@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Tue Apr 9 14:32:57 2019 New Revision: 498477 URL: https://svnweb.freebsd.org/changeset/ports/498477 Log: fix build with GCC-based architectures PR: 237155 Submitted by: Piotr Kubaj <pkubaj [...] anongoth.pl> Modified: head/security/yubico-piv-tool/Makefile Modified: head/security/yubico-piv-tool/Makefile ============================================================================== --- head/security/yubico-piv-tool/Makefile Tue Apr 9 14:04:49 2019 (r498476) +++ head/security/yubico-piv-tool/Makefile Tue Apr 9 14:32:57 2019 (r498477) @@ -37,4 +37,13 @@ PLIST_FILES= bin/yubico-piv-tool \ libdata/pkgconfig/ykpiv.pc \ man/man1/yubico-piv-tool.1.gz +post-patch: +.if exists(/usr/lib/libstdc++.so) + @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ + ${WRKSRC}/lib/ykpiv.c \ + ${WRKSRC}/lib/util.c \ + ${WRKSRC}/lib/internal.c \ + ${WRKSRC}/tool/yubico-piv-tool.c +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904091432.x39EWvaO097640>