svn commit: r379559 - head/security/libssh
John Marino
marino at FreeBSD.org
Sat Feb 21 22:06:02 UTC 2015
Author: marino
Date: Sat Feb 21 22:06:00 2015
New Revision: 379559
URL: https://svnweb.freebsd.org/changeset/ports/379559
QAT: https://qat.redports.org/buildarchive/r379559/
Log:
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
Modified:
head/security/libssh/Makefile
Modified: head/security/libssh/Makefile
==============================================================================
--- head/security/libssh/Makefile Sat Feb 21 22:01:01 2015 (r379558)
+++ head/security/libssh/Makefile Sat Feb 21 22:06:00 2015 (r379559)
@@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= https://red.libssh.org/attachments/download/87/
-MAINTAINER= fluffy at FreeBSD.org
+MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list