1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/lagrange/Makefile
Lewis Cook d1b07b5de8 www/lagrange: Make SSE4.1 support optional
Older class AMD64 and i386 CPUs do not support
SSE4.1, so make it opt-in instead.  This is a
problem since a build host may support the
feature-set whilst a package consumer does not,
causing an unexpected crash upon starting
the application.

(cherry picked from commit 6a9dfe8760)
2021-04-22 14:07:56 +01:00

38 lines
891 B
Makefile

PORTNAME= lagrange
DISTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://git.skyjake.fi/skyjake/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= lcook@FreeBSD.org
COMMENT= Beautiful Gemini Client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BROKEN_SSL= libressl
BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL
LIB_DEPENDS= libmpg123.so:audio/mpg123 \
libpcre.so:devel/pcre \
libunistring.so:devel/libunistring
USES= cmake compiler:c11 desktop-file-utils pkgconfig sdl ssl
USE_SDL= sdl2
OPTIONS_DEFINE= SSE41
SSE41_DESC= Enable SSE4.1 support
SSE41_CMAKE_ON= -DTFDN_ENABLE_SSE41:BOOL=ON
OPENSSL_LDFLAGS= -lssl -lcrypto
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base
BROKEN= requires at least OpenSSL version 1.1.1 to build
.endif
.include <bsd.port.post.mk>