freebsd-ports/x11/pixman/Makefile
Steve Wills 9f60ff7938 x11/pixman: fix build on powerpc64/powerpc
Reviewed by:	dumbbell, kwm
2016-04-21 14:01:05 +00:00

32 lines
720 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} == "powerpc64" || ${ARCH} == "powerpc"
CONFIGURE_ARGS+= --disable-vmx
.endif
.include <bsd.port.post.mk>