1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/multimedia/cmrt/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

35 lines
782 B
Makefile

PORTNAME= cmrt
DISTVERSION= 1.0.6
PORTREVISION= 2
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Legacy C for Metal Runtime
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported
LIB_DEPENDS= libdrm_intel.so:graphics/libdrm \
libva.so:multimedia/libva
USES= autoreconf compiler:c11 libtool pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= intel
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e '/-g/d; /-O2/d' \
${WRKSRC}/src/Makefile.am
# Silence -Wmacro-redefined
@${REINPLACE_CMD} -e '/__fastcall/d' \
${WRKSRC}/src/cm_mem.h
@${REINPLACE_CMD} -e '/#define UINT_MAX/d' \
${WRKSRC}/src/oscl_platform_def.h
.include <bsd.port.mk>