pkg-config fails after update to 1.6.0 of security/libssh2
Chad J. Milios
milios at ccsys.com
Wed Sep 23 09:07:46 UTC 2015
one thing i noticed this break is the LIBSSH2 option on multimedia/vlc.
fix is attached. if attachment gets stripped off of email to list, it's
available at https://nuos.org/security_libssh2.diff . if this link is
broken it's because a fix has been committed to ports tree.
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 397608)
+++ Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= libssh2
PORTVERSION= 1.6.0
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= security devel
MASTER_SITES= http://www.libssh2.org/download/ \
@@ -48,4 +48,8 @@
${WRKSRC}/configure
.endif
+post-build:
+ @${REINPLACE_CMD} -E -e '/Requires.private:/{s/[[:<:]]zlib[[:>:]]//;s/,,/,/;s/ ,/ /;s/,$$//;}' \
+ ${WRKSRC}/libssh2.pc
+
.include <bsd.port.post.mk>
More information about the freebsd-ports
mailing list