Date: Thu, 20 Dec 2018 09:02:31 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487868 - head/security/opensc Message-ID: <201812200902.wBK92V3v081700@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <pkubaj@anongoth.pl> 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812200902.wBK92V3v081700>