mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
ba1796ef17
Clang miscompiles babl-html-dump: pid 27736 (babl-html-dump), jid 963, uid 65534: exited on signal 11 (core dumped) Also, -Wno-error=incompatible-function-pointer-types is not compatible with GCC.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
PORTNAME= babl
|
|
PORTVERSION= 0.1.106
|
|
CATEGORIES= x11
|
|
MASTER_SITES= GIMP
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Dynamic pixel format conversion library
|
|
WWW= https://www.gegl.org/babl/
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= liblcms2.so:graphics/lcms2
|
|
|
|
USES= gnome libtool localbase meson pathfix pkgconfig tar:xz vala:build
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= introspection:build
|
|
|
|
OPTIONS_DEFINE= SIMD
|
|
OPTIONS_DEFAULT_amd64=SIMD
|
|
OPTIONS_EXCLUDE_i386=SIMD
|
|
|
|
SIMD_MESON_OFF= -Denable-mmx=false -Denable-sse=false \
|
|
-Denable-sse2=false -Denable-sse4_1=false \
|
|
-Denable-avx2=false -Denable-f16c=false
|
|
|
|
BABL_SHLIB= 0.205.1
|
|
BABL_VER= 0.1
|
|
PLIST_SUB+= BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == powerpc
|
|
USES+= compiler:gcc-c++11-lib
|
|
.else
|
|
USES+= compiler:c11
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
PLIST_SUB+= AMD64="" ARM="@comment "
|
|
.elif ${ARCH} == "armv6" || ${ARCH} == "armv7"
|
|
PLIST_SUB+= AMD64="@comment " ARM=""
|
|
.else
|
|
PLIST_SUB+= AMD64="@comment " ARM="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|