Date: Sun, 02 Aug 2015 03:30:36 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Message-ID: <bug-201683-6497-PQTdIhKFiV@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-201683-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-201683-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201683 --- Comment #4 from Carlos J Puga Medina <cpm@fbsd.es> --- This patch allows to build cairo port with atomic operations enabled: --- Makefile.orig 2015-08-02 05:25:43.503429000 +0200 +++ Makefile 2015-08-02 05:28:26.946450000 +0200 @@ -4,7 +4,7 @@ PORTNAME= cairo PORTVERSION= 1.12.18 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ @@ -16,6 +16,7 @@ .if !defined(REFERENCE_PORT) +BUILD_DEPENDS= ${LOCALBASE}/include/atomic_ops.h:${PORTSDIR}/devel/libatomic_ops LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig @@ -26,6 +27,10 @@ CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ --disable-directfb \ --enable-tee +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS} \ + cairo_cv_atomic_primitives="libatomic-ops" USES+= cpe libtool pathfix pkgconfig CPE_VENDOR= cairographics USE_XORG= pixman -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201683-6497-PQTdIhKFiV>