Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 14:33:37 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496754 - head/security/libfido2
Message-ID:  <201903241433.x2OEXblT078152@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903241433.x2OEXblT078152>