summaryrefslogtreecommitdiff
path: root/devel/libgit2
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
commita0bcd2cf684ff6bc2faf242e6678282f20a3ee44 (patch)
treea5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /devel/libgit2
parentAllow more than one filename to be pathfixed. (diff)
Use USES=pathfix where applicable.
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
Notes
Notes: svn path=/head/; revision=424427
Diffstat (limited to 'devel/libgit2')
-rw-r--r--devel/libgit2/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 89fad80bf2d0..98963517d9cb 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= libgit2
-USES= cmake pkgconfig python:build
+USES= cmake pathfix pkgconfig python:build
USE_LDCONFIG= yes
USE_OPENSSL= yes
@@ -38,8 +38,7 @@ BROKEN_sparc64= does not install: thread-local storage not supported
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|; \
- /LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt
+ @${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