pkgsrc/math/volk/Makefile
tnn cc73fe83fe volk: update to 2.4.1
Fixes build portability regressions introduced in 2.4.0
2021-04-05 11:58:57 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2021/04/05 11:58:57 tnn Exp $
DISTNAME= volk-2.4.1
CATEGORIES= math ham
MASTER_SITES= ${MASTER_SITE_GITHUB:=gnuradio/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.libvolk.org/
COMMENT= The Vector Optimized Library of Kernels
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
# XXX this doesn't work because VolkPython.cmake doesn't conform
# to PEP 3147 (doesn't place files in __pycache__ when using python 3)
#
# PY_PATCHPLIST= yes
#.include "../../lang/python/extension.mk"
#
# So do it manually instead:
.include "../../lang/python/application.mk"
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
.include "../../devel/orc/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.if ${MACHINE_ARCH:M*arm*} || \
${MACHINE_ARCH} == "aarch64" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64" || \
${MACHINE_ARCH:M*mips*} || \
${MACHINE_ARCH:M*powerpc*}
.include "../../devel/cpu_features/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"