1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/devel/libgit2/Makefile
Raphael Kubo da Costa 6fd8cb7810 Remove CMAKE_USE_PTHREAD from the ports using it.
This setting has not had any effect since r1.13 to bsd.cmake.mk, as it
was only useful when we supported FreeBSD < 7.

Approved by:	avilla (mentor), portmgr (miwi)
Feature safe:	yes
2011-11-14 03:26:46 +00:00

33 lines
678 B
Makefile

# New ports collection makefile for: libgit2
# Date created: 2011-05-27
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgit2
PORTVERSION= 0.15.0
CATEGORIES= devel
MASTER_SITES= http://cloud.github.com/downloads/libgit2/libgit2/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Portable, pure C implementation of the Git core
LICENSE= GPLv2
USE_LDCONFIG= yes
USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not install on sparc64: thread-local storage not supported
.endif
post-patch:
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|" ${WRKSRC}/CMakeLists.txt
.include <bsd.port.post.mk>