1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/math/sleef/Makefile
Piotr Kubaj bd264455e3 math/sleef: fix build on powerpc64
Altivec needs {} for vectors instead of ().
lib/libsleefgnuabi.so is not built on powerpc64.

PR:		239468
Approved by:	jmd (maintainer), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D21216
2019-08-19 23:33:39 +00:00

30 lines
523 B
Makefile

# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
# $FreeBSD$
PORTNAME= sleef
DISTVERSION= 3.4.0
PORTREVISION= 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
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
PLIST_SUB+= NO_PPC64="@comment "
.else
PLIST_SUB+= NO_PPC64=""
.endif
.include <bsd.port.mk>