freebsd-ports/multimedia/libdvbcsa/Makefile
Bernhard Froehlich 037d485794 Add workaround for GCC build failure on 9.x taken from
multimedia/libvpx

Reported by:	package builder
2015-03-19 09:52:24 +00:00

35 lines
912 B
Makefile

# Created by: Bernhard Froehlich <decke@FreeBSD.org>
# $FreeBSD$
PORTNAME= libdvbcsa
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
http://ftp.heikorichter.name/pub/videolan/${PORTNAME}/${PORTVERSION}/
MAINTAINER= decke@FreeBSD.org
COMMENT= Free implementation of the DVB Common Scrambling Algorithm
LICENSE= GPLv2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
# Workaround for GCC in 9.x post r260075
# OSVERSION taken from r260135, the closest OSVERSION
.if ${OSVERSION} > 902505 && ${OSVERSION} < 1000000
CFLAGS+= -flax-vector-conversions
.endif
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}
CONFIGURE_ARGS+=--enable-sse2
.elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
CONFIGURE_ARGS+=--enable-mmx
.endif
.include <bsd.port.mk>