2022-03-27 15:41:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2022/03/27 13:41:06 tnn Exp $
|
2013-02-08 23:06:37 +01:00
|
|
|
|
2021-02-20 21:46:13 +01:00
|
|
|
DISTNAME= glog-0.4.0
|
2013-02-08 23:06:37 +01:00
|
|
|
PKGNAME= google-${DISTNAME}
|
|
|
|
CATEGORIES= devel
|
2016-11-01 16:22:26 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
|
|
|
|
GITHUB_PROJECT= glog
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2013-02-08 23:06:37 +01:00
|
|
|
|
2017-04-19 13:24:36 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2016-11-01 16:22:26 +01:00
|
|
|
HOMEPAGE= https://github.com/google/glog/
|
2013-02-08 23:06:37 +01:00
|
|
|
COMMENT= Application Level Logging library for C++
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2021-02-20 21:46:13 +01:00
|
|
|
USE_TOOLS+= automake pkg-config
|
2017-05-03 10:38:38 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2013-02-08 23:06:37 +01:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= libglog.pc.in
|
|
|
|
|
2022-03-27 15:41:06 +02:00
|
|
|
BUILDLINK_TRANSFORM.SunOS+= rm:-pie
|
|
|
|
|
2013-02-26 11:24:50 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2016-11-16 10:40:24 +01:00
|
|
|
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
|
2013-02-26 11:24:50 +01:00
|
|
|
LIBS+= -lexecinfo
|
|
|
|
.endif
|
|
|
|
|
2021-02-20 21:46:13 +01:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ${SH} autogen.sh
|
|
|
|
|
2013-02-08 23:06:37 +01:00
|
|
|
.include "../../devel/googletest/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|