[Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 2 03:30:36 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201683
--- Comment #4 from Carlos J Puga Medina <cpm at 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 on the CC list for the bug.
More information about the freebsd-mips
mailing list