pkgsrc/lang/libunwind/Makefile
adam fa003e0fad llvm: updated to 9.0.1
9.0.1 is a bug-fix release.
2019-12-29 15:31:21 +00:00

38 lines
843 B
Makefile

# $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"