Lines 1-5
Link Here
|
1 |
PORTNAME= pixman |
1 |
PORTNAME= pixman |
2 |
PORTVERSION= 0.42.2 |
2 |
PORTVERSION= 0.42.2 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= x11 |
4 |
CATEGORIES= x11 |
4 |
|
5 |
|
5 |
MAINTAINER= x11@FreeBSD.org |
6 |
MAINTAINER= x11@FreeBSD.org |
Lines 11-35
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
11 |
|
12 |
|
12 |
PORTSCOUT= limitw:1,even |
13 |
PORTSCOUT= limitw:1,even |
13 |
|
14 |
|
14 |
USES= compiler:c11 cpe tar:xz xorg-cat:lib |
15 |
USES= compiler:c11 cpe tar:xz xorg-cat:lib,meson |
15 |
CONFIGURE_ARGS= --disable-gtk |
16 |
MESON_ARGS= --auto-features=auto \ |
16 |
INSTALL_TARGET= install-strip |
17 |
-Dgtk=disabled \ |
17 |
|
18 |
-Dtests=disabled |
18 |
# Build the library exclusively, thus disabling the demos and the tests (which |
|
|
19 |
# do not get installed anyway). This is to workaround a problem in powerpc64 |
20 |
# where the build of the tests crashes ld; see PR bin/202284. |
21 |
MAKE_ARGS= SUBDIRS=pixman |
22 |
|
19 |
|
23 |
.include <bsd.port.pre.mk> |
20 |
.include <bsd.port.pre.mk> |
24 |
|
21 |
|
25 |
.if ${ARCH} == "armv6" || ${ARCH} == "armv7" |
22 |
.if ${ARCH} == "armv6" || ${ARCH} == "armv7" |
26 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils |
23 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils |
27 |
CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as" |
24 |
CFLAGS+= -B${LOCALBASE}/bin -no-integrated-as |
28 |
LLD_UNSAFE= yes |
25 |
LLD_UNSAFE= yes |
29 |
.elif ${ARCH} == "aarch64" |
26 |
.elif ${ARCH} == "aarch64" |
30 |
CONFIGURE_ARGS+= --disable-arm-a64-neon |
27 |
MESON_ARGS+= -Da64-neon=disabled |
31 |
.elif (defined(MACHINE_CPU) && !${MACHINE_CPU:Maltivec}) || (${ARCH} == powerpc && !defined(MACHINE_CPU)) |
28 |
.elif (defined(MACHINE_CPU) && !${MACHINE_CPU:Maltivec}) || (${ARCH} == powerpc && !defined(MACHINE_CPU)) |
32 |
CONFIGURE_ARGS+= --disable-vmx |
29 |
MESON_ARGS+= -Dvmx=disabled |
33 |
.endif |
30 |
.endif |
34 |
|
31 |
|
35 |
.include <bsd.port.post.mk> |
32 |
.include <bsd.port.post.mk> |