blob: be77fdacda2ce5b1cb0a2b70bd4b810cf73f1ed1 (
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
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.22 2019/12/29 15:31:23 adam Exp $
.include "../../lang/llvm/version.mk"
DISTNAME= libunwind-${LLVM_VERSION}.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://libunwind.llvm.org/
COMMENT= LLVM libunwind
LICENSE= apache-2.0
CONFIGURE_DIRS= ${WRKDIR}/build
USE_CMAKE= yes
USE_LANGUAGES= c c++11
USE_TOOLS+= pax
GCC_REQD+= 4.8
SSP_SUPPORTED= no
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
CMAKE_ARG_PATH= ${WRKSRC}
INSTALLATION_DIRS= include
post-extract:
${MKDIR} ${WRKDIR}/build
post-install:
cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
BUILDLINK_DEPMETHOD.llvm= build
.include "../../lang/llvm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|