From owner-svn-ports-all@freebsd.org Thu Dec 20 09:02:32 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A72A5133D379; Thu, 20 Dec 2018 09:02:32 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8616E9D8; Thu, 20 Dec 2018 09:02:32 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D3B523693; Thu, 20 Dec 2018 09:02:32 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBK92Wn0081702; Thu, 20 Dec 2018 09:02:32 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBK92V3v081700; Thu, 20 Dec 2018 09:02:31 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201812200902.wBK92V3v081700@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Thu, 20 Dec 2018 09:02:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487868 - head/security/opensc X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: head/security/opensc X-SVN-Commit-Revision: 487868 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2F8616E9D8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2018 09:02:32 -0000 Author: ale Date: Thu Dec 20 09:02:31 2018 New Revision: 487868 URL: https://svnweb.freebsd.org/changeset/ports/487868 Log: Fix build on GCC based architectures. PR: 234178 Submitted by: Piotr Kubaj Modified: head/security/opensc/Makefile Modified: head/security/opensc/Makefile ============================================================================== --- head/security/opensc/Makefile Thu Dec 20 09:00:10 2018 (r487867) +++ head/security/opensc/Makefile Thu Dec 20 09:02:31 2018 (r487868) @@ -11,7 +11,7 @@ COMMENT= Libraries and utilities to access smart cards LICENSE= LGPL21 -BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option "-Wno-unused-but-set-variable" +USES= libtool pkgconfig gmake ssl OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI @@ -25,7 +25,6 @@ CTAPI_DESC= Use CT-API backend SM_DESC= Enable secure messaging support NOTIFY_DESC= Enable notification support -USES= libtool pkgconfig gmake ssl GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip @@ -65,6 +64,12 @@ CONFIGURE_ARGS+=--with-xsl-stylesheetsdir=${LOCALBASE} .else CONFIGURE_ENV+= XSLTPROC="${FALSE}" CONFIGURE_ARGS+=--without-xsl-stylesheetsdir +.endif + +post-patch: +.if exists(/usr/lib/libstdc++.so) + ${REINPLACE_CMD} -e '/-Wno-unused-but-set-variable/d' \ + ${WRKSRC}/src/tools/Makefile.am .endif .include