sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2021/02/23 19:39:26 sthen Exp $
# Integrated clang assembler doesn't work with x86 - Bug #698164
# remove if build can be updated to clang 9.0.0 (see
# https://github.com/KhronosGroup/Vulkan-Loader/issues/252)
BROKEN-i386 = clang integrated asm fails, https://github.com/KhronosGroup/Vulkan-Loader/issues/252
COMMENT = Vulkan ICD loader
V = 1.2.162.0
PKGNAME = vulkan-loader-${V}
GH_TAGNAME = sdk-${V}
GH_ACCOUNT = KhronosGroup
GH_PROJECT = Vulkan-Loader
SHARED_LIBS += vulkan 0.1 # 1.2
CATEGORIES = devel graphics
HOMEPAGE = https://www.khronos.org/vulkan/
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE = Yes
WANTLIB += m pthread
BUILD_DEPENDS = graphics/vulkan-headers
RUN_DEPENDS = graphics/vulkan-headers
CONFIGURE_ARGS = -DBUILD_WSI_WAYLAND_SUPPORT=False
COMPILER = base-clang ports-gcc
MODULES = devel/cmake \
lang/python
MODPY_RUNDEP = No
# Tests only build if Google Test framework is in directory external/
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>