svn commit: r340387 - head/devel/libgit2
William Grzybowski
wg at FreeBSD.org
Mon Jan 20 13:11:43 UTC 2014
Author: wg
Date: Mon Jan 20 13:11:42 2014
New Revision: 340387
URL: http://svnweb.freebsd.org/changeset/ports/340387
QAT: https://qat.redports.org/buildarchive/r340387/
Log:
devel/libgit2: fix pkgconfig file and missing dependency
PR: ports/185892
Submitted by: amdmi3
Modified:
head/devel/libgit2/Makefile
Modified: head/devel/libgit2/Makefile
==============================================================================
--- head/devel/libgit2/Makefile Mon Jan 20 13:05:37 2014 (r340386)
+++ head/devel/libgit2/Makefile Mon Jan 20 13:11:42 2014 (r340387)
@@ -2,6 +2,7 @@
PORTNAME= libgit2
PORTVERSION= 0.20.0
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= wg at FreeBSD.org
@@ -17,9 +18,18 @@ GH_COMMIT= 43cb8b3
USES= cmake
USE_LDCONFIG= yes
USE_PYTHON_BUILD= yes
+USE_OPENSSL= yes
PLIST_SUB= SHLIB_VER=${PORTVERSION}
+OPTIONS_DEFINE= SSH
+OPTIONS_DEFAULT=SSH
+SSH_DESC= Enable SSH support through libssh2
+
+SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
+SSH_CMAKE_ON= -DUSE_SSH=ON
+SSH_CMAKE_OFF= -DUSE_SSH=OFF
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
@@ -27,6 +37,11 @@ BROKEN= Does not install on sparc64: th
.endif
post-patch:
- @${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|" ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|; \
+ /LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt
+.if defined(WITH_OPENSSL_BASE)
+ @${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \
+ ${WRKSRC}/CMakeLists.txt
+.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list