1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11/pixman/Makefile
Jan Beich 264f2b3820 x11/pixman: unbreak on armv7
<instantiation>:1:1: error: unknown directive
.func fname
^
<instantiation>:4:1: note: while in macro instantiation
pixman_asm_function fname
^
pixman-arm-simd-asm-scaled.S:152:1: note: while in macro instantiation
generate_nearest_scanline_func pixman_scaled_nearest_scanline_0565_0565_SRC_asm_armv6, 1, h, 80, 32
^
<instantiation>:39:29: error: invalid immediate shift value
 and TMP1, VXMASK, VX, asr #(16 - bpp_shift)
                            ^
pixman-arm-simd-asm-scaled.S:152:1: note: while in macro instantiation
generate_nearest_scanline_func pixman_scaled_nearest_scanline_0565_0565_SRC_asm_armv6, 1, h, 80, 32
^
2017-10-08 18:57:09 +00:00

38 lines
880 B
Makefile

# $FreeBSD$
PORTNAME= pixman
PORTVERSION= 0.34.0
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
COMMENT= Low-level pixel manipulation library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
PORTSCOUT= limitw:1,even
USES= cpe perl5
USE_PERL5= build
XORG_CAT= lib
CONFIGURE_ARGS= --disable-gtk
INSTALL_TARGET= install-strip
# Build the library exclusively, thus disabling the demos and the tests (which
# do not get installed anyway). This is to workaround a problem in powerpc64
# where the build of the tests crashes ld; see PR bin/202284.
MAKE_ARGS= SUBDIRS=pixman
.include <bsd.port.pre.mk>
.if ${ARCH} == "armv6" || ${ARCH} == "armv7"
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -no-integrated-as"
.endif
.if ${ARCH} == "powerpc64" || ${ARCH} == "powerpc"
CONFIGURE_ARGS+= --disable-vmx
.endif
.include <bsd.port.post.mk>