diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-07-13 00:07:35 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-07-13 00:07:35 +0000 |
commit | feee6ce9d61c0e3eb1c200e4adbe5dac8b2b887a (patch) | |
tree | abd62ebf5876447e6703d59978de852efd7daca3 /games/lpairs | |
parent | ncbi-blast+: Unbreak build with gcc8 following gcc9 patch (diff) |
Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
as a stand-in for "are we running on gcc".
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=506498
Diffstat (limited to 'games/lpairs')
-rw-r--r-- | games/lpairs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile index 1f81fc984b9e..b56a0c02dba6 100644 --- a/games/lpairs/Makefile +++ b/games/lpairs/Makefile @@ -35,7 +35,7 @@ NLS_CONFIGURE_ENABLE= nls post-patch: ${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc ${REINPLACE_CMD} -e 's|-Wno-unused-result||' ${WRKSRC}/configure.in .endif |