Date: Sat, 6 Apr 2019 19:17:01 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498167 - head/games/lpairs Message-ID: <201904061917.x36JH1jN055731@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Sat Apr 6 19:17:00 2019 New Revision: 498167 URL: https://svnweb.freebsd.org/changeset/ports/498167 Log: Turn off the -Wno-unused-result flag on GCC-based architectures to fix the following: cc1: error: unrecognized command line option "-Wno-unused-result" Approved by: portmgr (tier-2 blanket) Modified: head/games/lpairs/Makefile Modified: head/games/lpairs/Makefile ============================================================================== --- head/games/lpairs/Makefile Sat Apr 6 19:13:31 2019 (r498166) +++ head/games/lpairs/Makefile Sat Apr 6 19:17:00 2019 (r498167) @@ -12,7 +12,7 @@ COMMENT= Classical memory game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf +USES= autoreconf compiler sdl GNU_CONFIGURE= yes USE_SDL= sdl @@ -31,10 +31,15 @@ OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls +.include <bsd.port.pre.mk> + post-patch: - @${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in + ${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e 's|-Wno-unused-result||' ${WRKSRC}/configure.in +.endif post-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904061917.x36JH1jN055731>