summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2015-10-20 18:49:47 +0000
committerJulio Merino <jmmv@FreeBSD.org>2015-10-20 18:49:47 +0000
commit3f6b173a3b1d971fa6b691e8bd902171d159e56d (patch)
tree21af4f4d4c294b61ae2a7f654c7a24d6b3ab2373
parente492407e3e51bca78dd379e03158f76e7f8f94c9 (diff)
downloadfreebsd-ports-3f6b173a3b1d971fa6b691e8bd902171d159e56d.zip
Avoid building unnecessary demos and tests.
The pixmap package does not install neither the demos nor the tests it includes, yet these get built as part of "make all". Disable them to shorten build times and, particularly, to workaround ld(1) crashes triggered by them in powerpc64; see PR bin/202284 for details. Reviewed by: kwm (maintainer), bdrewery (mentor) Differential Revision: https://reviews.freebsd.org/D3372
-rw-r--r--x11/pixman/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index ee70b5ad13c0..5fb735dd5da3 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -18,4 +18,9 @@ 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.mk>