Date: Thu, 13 Jun 2019 13:03:12 +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: r504092 - head/net/axa Message-ID: <201906131303.x5DD3Cc7083126@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Thu Jun 13 13:03:11 2019 New Revision: 504092 URL: https://svnweb.freebsd.org/changeset/ports/504092 Log: Remove -Wno-unused-command-line-argument from CFLAGS to fix the build on GCC-based systems: cc1: error: unrecognized command line option "-Wno-unused-command-line-argument" Approved by: portmgr (tier-2 blanket) Modified: head/net/axa/Makefile Modified: head/net/axa/Makefile ============================================================================== --- head/net/axa/Makefile Thu Jun 13 13:01:00 2019 (r504091) +++ head/net/axa/Makefile Thu Jun 13 13:03:11 2019 (r504092) @@ -23,8 +23,8 @@ LIB_DEPENDS= liblmdb.so:databases/lmdb \ libyajl.so:devel/yajl RUN_DEPENDS= sie-nmsg>0:net/sie-nmsg -USES= autoreconf gmake libedit libtool pathfix pkgconfig shebangfix \ - ssl +USES= autoreconf compiler gmake libedit libtool pathfix \ + pkgconfig shebangfix ssl GNU_CONFIGURE= yes CONFIGURE_SHELL= ${LOCALBASE}/bin/bash @@ -53,7 +53,12 @@ CONFIGURE_ENV+= libcrypto_CFLAGS="-I${OPENSSLINC}" \ post-extract: (${ECHO} "For libmy/b64_encode.c:" ; \ - ${SED} -ne "1,/\*\//p" ${WRKSRC}/libmy/b64_encode.c ) > ${LICENSE_FILE_PD} + ${SED} -ne "1,/\*\//p" ${WRKSRC}/libmy/b64_encode.c ) > ${LICENSE_FILE_PD} + +.if ${CHOSEN_COMPILER_TYPE} == gcc +pre-configure: + ${REINPLACE_CMD} -e 's|-Wno-unused-command-line-argument||' ${WRKSRC}/configure.ac +.endif post-install-DOXYGEN-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906131303.x5DD3Cc7083126>