mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
ffa26e3926
While there, fix LLVM11 introduced breakage on HEAD
33 lines
586 B
Makefile
33 lines
586 B
Makefile
# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sleef
|
|
DISTVERSION= 3.4.1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= SIMD Library for Evaluating Elementary Functions, vectorized libm
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= cmake compiler:c11
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= shibatch
|
|
|
|
# fix on post LLVM11 HEAD
|
|
CFLAGS+= -fcommon
|
|
CFLAGS_powerpc64= -mpower8-vector
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == powerpc64
|
|
PLIST_SUB+= NO_PPC64="@comment "
|
|
.else
|
|
PLIST_SUB+= NO_PPC64=""
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|