svn commit: r471765 - in branches/2018Q2/devel: libgit2 libgit2-glib/files

Matthias Fechner mfechner at FreeBSD.org
Tue Jun 5 14:44:27 UTC 2018


Author: mfechner
Date: Tue Jun  5 14:44:26 2018
New Revision: 471765
URL: https://svnweb.freebsd.org/changeset/ports/471765

Log:
  MFH: r469930 r470014
  
  Mark devel/libgit2-glib as broken, upstream does not support libgit 0.27.0
  
  Reviewed by:	wg (maintainer)
  Approved by:	wg (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D15321
  
  devel/libgit2-glib: Unbreak with libgit2 0.27.
  
  The fix is two-fold:
  * Adjust the path for the sed call in devel/libgit2 so that we leave out
    openssl from libgit2.pc's Requires.private line, otherwise libgit2-glib will
    look for openssl.pc, which does not exist when OpenSSL from base is used.
  
  * Reset libgit2-glib back to 0.26, and import a patch both Arch Linux and
    openSUSE have been carrying to fix the build with libgit2 0.27. PORTEPOCH was
    not set because there is no libgit2-glib 0.27 and no package could have
    possibly been built after r469930.
  
  Approved by:	mfechner, gnome (kwm)
  Differential Revision:	https://reviews.freebsd.org/D15437
  
  Approved by:	ports-secteam (eadler)

Added:
  branches/2018Q2/devel/libgit2-glib/files/
     - copied from r470014, head/devel/libgit2-glib/files/
Modified:
  branches/2018Q2/devel/libgit2/Makefile
Directory Properties:
  branches/2018Q2/   (props changed)

Modified: branches/2018Q2/devel/libgit2/Makefile
==============================================================================
--- branches/2018Q2/devel/libgit2/Makefile	Tue Jun  5 14:40:59 2018	(r471764)
+++ branches/2018Q2/devel/libgit2/Makefile	Tue Jun  5 14:44:26 2018	(r471765)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libgit2
 PORTVERSION=	0.27.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -38,7 +39,7 @@ post-patch:
 	@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt
 .if ${SSL_DEFAULT} == base
 	@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \
-		${WRKSRC}/CMakeLists.txt
+		${WRKSRC}/src/CMakeLists.txt
 .endif
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list