graphics/cairo

Volker Stolz vs at FreeBSD.org
Tue Mar 8 06:53:46 PST 2005


Please give me a thumbs-up on this. I don't expect any problems,
in fact, this will unbreak cad/oregano.

Cheers,
  Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
-------------- next part --------------
Index: graphics/cairo/Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/cairo/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- graphics/cairo/Makefile	8 Mar 2005 09:34:18 -0000	1.9
+++ graphics/cairo/Makefile	8 Mar 2005 14:52:34 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	cairo
 PORTVERSION=	0.3.0
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://cairographics.org/snapshots/
 
@@ -21,7 +22,7 @@
 USE_LIBTOOL_VER=15
 INSTALLS_SHLIB=	yes
 
-CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include" \
 		LDFLAGS="${PTHREAD_LIBS}"
 
 OPTIONS+=	GLITZ "Enable Glitz OpenGL Support" Off
@@ -32,7 +33,9 @@
 LIB_DEPENDS+=	glitz-glx.1:${PORTSDIR}/graphics/glitz
 .endif
 
-.if !defined(WITHOUT_X11)
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS=	--disable-xlib
+.else
 USE_XLIB=	yes
 .endif
 


More information about the freebsd-gnome mailing list