summaryrefslogtreecommitdiff
path: root/graphics/libgltf/Makefile
blob: be0ab50f8af1855e9fbd3fad1bc485a8c7f84de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.13 2018/01/01 21:18:34 adam Exp $

DISTNAME=	libgltf-0.1.0
PKGREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	http://dev-www.libreoffice.org/src/libgltf/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://gerrit.libreoffice.org/#/admin/projects/libgltf
COMMENT=	Rendering library for glTF
LICENSE=	mpl-2.0

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++

PKGCONFIG_OVERRIDE+=	libgltf.pc.in

# Fix build with GCC 4.8.3 under NetBSD/amd64 7.99.1
CONFIGURE_ARGS+=	--disable-werror

# Fix build with GCC 4.5.3 under NetBSD 6.1
BUILDLINK_TRANSFORM+=	rm:-Weffc++

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glm/buildlink3.mk"
.include "../../graphics/libepoxy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"