Index: Makefile =================================================================== --- Makefile (revision 487742) +++ Makefile (working copy) @@ -11,8 +11,6 @@ LICENSE= LGPL21 -BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option "-Wno-unused-but-set-variable" - OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI OPTIONS_DEFINE= SM NOTIFY DOCS MANPAGES @@ -67,4 +65,10 @@ 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