svn commit: r496754 - head/security/libfido2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 24 14:33:41 UTC 2019
Author: sunpoet
Date: Sun Mar 24 14:33:37 2019
New Revision: 496754
URL: https://svnweb.freebsd.org/changeset/ports/496754
Log:
Fix build on powerpc
PR: 236744
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl>
Modified:
head/security/libfido2/Makefile
Modified: head/security/libfido2/Makefile
==============================================================================
--- head/security/libfido2/Makefile Sun Mar 24 14:33:32 2019 (r496753)
+++ head/security/libfido2/Makefile Sun Mar 24 14:33:37 2019 (r496754)
@@ -26,5 +26,8 @@ post-patch:
@${REINPLACE_CMD} -e '/libcrypto/d' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/man/CMakeLists.txt
@${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/openbsd-compat/openbsd-compat.h
+#.if exists(/usr/lib/libstdc++.so)
+ @${REINPLACE_CMD} -e '/-Wno-unused-result/d; /-Wno-discarded-qualifiers/d' ${WRKSRC}/CMakeLists.txt
+#.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list