pkgsrc/devel/abseil/Makefile

28 lines
645 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2022/07/06 15:16:59 adam Exp $
DISTNAME= abseil-20220623.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=abseil/}
GITHUB_PROJECT= abseil-cpp
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/abseil/abseil-cpp
COMMENT= C++ Common Libraries
LICENSE= apache-2.0
USE_CMAKE= yes
USE_LANGUAGES= c++11
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
. if exists(${OSX_SDK_PATH}/usr/include/execinfo.h)
BUILDLINK_TRANSFORM+= rm:-lexecinfo
. endif
.endif
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"