1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/x11/babl/Makefile
Mark Linimon 13fb0b92a2 Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:44:15 +00:00

35 lines
651 B
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= babl
PORTVERSION= 0.1.48
CATEGORIES= x11
MASTER_SITES= GIMP
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dynamic pixel format conversion library
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= SIMD
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MSIMD}
CONFIGURE_ARGS+=--disable-mmx \
--disable-sse \
--disable-altivec
.endif
post-patch:
@${REINPLACE_CMD} -e 's|x86_64|amd64|g' \
${WRKSRC}/configure
.include <bsd.port.mk>