aboutsummaryrefslogtreecommitdiff
path: root/security/libssh
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-02-21 22:06:00 +0000
committerJohn Marino <marino@FreeBSD.org>2015-02-21 22:06:00 +0000
commit5a1b18ba2c4f9666230e178694f43720cfd87f97 (patch)
tree19cf00bc4574865b871e7579053845d87bd76f3e /security/libssh
parentc7f7535efc4629b23c3ce4671218b61d2d7cdaeb (diff)
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
Notes
Notes: svn path=/head/; revision=379559
Diffstat (limited to 'security/libssh')
-rw-r--r--security/libssh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index 679d80125db6..718731c6547c 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -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>