mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
cf118ccf87
Reported by: lwhsu
35 lines
905 B
Makefile
35 lines
905 B
Makefile
PORTNAME= pixman
|
|
PORTVERSION= 0.40.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= Low-level pixel manipulation library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= compiler:c11 cpe perl5 tar:xz xorg-cat:lib
|
|
USE_PERL5= build
|
|
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} -B${LOCALBASE}/bin -no-integrated-as"
|
|
LLD_UNSAFE= yes
|
|
.elif ${ARCH} == "powerpc"
|
|
CONFIGURE_ARGS+= --disable-vmx
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|