devel/libssh: Remove -pedantic-error flags and reset port
This port breaks if it violates standards according to the -pedantic flag. Accord to gcc-5, it indeed does with dozens of warnings like this: /wrkdirs/security/libssh/work/libssh-0.6.3/include/libssh/priv.h:200:33: error: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] _ssh_set_error(error, code, __FUNCTION__, __VA_ARGS__) The maintainer has been MIA for over a year with PRs on 8 ports. I'm not waiting for this one to time out too. While here, reset MAINTAINER. PR: 197785 Submitted by: marino Approved by: maintainer reset
This commit is contained in:
parent
c7f7535efc
commit
5a1b18ba2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379559
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@ PORTREVISION= 1
|
|||
CATEGORIES= security devel
|
||||
MASTER_SITES= https://red.libssh.org/attachments/download/87/
|
||||
|
||||
MAINTAINER= fluffy@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library implementing the SSH1 and SSH2 protocol
|
||||
|
||||
LICENSE= LGPL21
|
||||
|
@ -49,5 +49,7 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads ${PTHREAD_LIBS}|' \
|
||||
-e 's|$${INCLUDE_INSTALL_DIR}|$${INCLUDE_INSTALL_DIR} ${PTHREAD_CFLAGS}|' \
|
||||
${WRKSRC}/libssh_threads.pc.cmake
|
||||
@${REINPLACE_CMD} -e 's| -pedantic-errors||' \
|
||||
${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue