aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-04-21 22:01:05 +0800
committerswills <swills@FreeBSD.org>2016-04-21 22:01:05 +0800
commit2aedbc4cb007948dd0cf5486f9553e7087ace16e (patch)
tree51c680dc0eac36c11a3592faf4bd5749f72573d5
parent63a74f614d1398f707940097034c0b7a88af30df (diff)
downloadfreebsd-ports-gnome-2aedbc4cb007948dd0cf5486f9553e7087ace16e.tar.gz
freebsd-ports-gnome-2aedbc4cb007948dd0cf5486f9553e7087ace16e.tar.zst
freebsd-ports-gnome-2aedbc4cb007948dd0cf5486f9553e7087ace16e.zip
x11/pixman: fix build on powerpc64/powerpc
Reviewed by: dumbbell, kwm
-rw-r--r--x11/pixman/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index 4d83eff3a954..89c7243311d0 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -23,4 +23,10 @@ INSTALL_TARGET= install-strip
# where the build of the tests crashes ld; see PR bin/202284.
MAKE_ARGS= SUBDIRS=pixman
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc64" || ${ARCH} == "powerpc"
+CONFIGURE_ARGS+= --disable-vmx
+.endif
+
+.include <bsd.port.post.mk>