summaryrefslogtreecommitdiff
path: root/devel/libgit2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgit2/Makefile')
-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