aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-09 21:43:32 +0800
committervs <vs@FreeBSD.org>2005-03-09 21:43:32 +0800
commit19f4cd6907459884b3aabf7f173b13caeff41d89 (patch)
tree391d26c118ce9ef0b6539626e47d4dde6a61a668 /graphics
parent133952f9f713899bb7428425f2ddc924446cc354 (diff)
downloadfreebsd-ports-gnome-19f4cd6907459884b3aabf7f173b13caeff41d89.tar.gz
freebsd-ports-gnome-19f4cd6907459884b3aabf7f173b13caeff41d89.tar.zst
freebsd-ports-gnome-19f4cd6907459884b3aabf7f173b13caeff41d89.zip
Unbreak WITHOUT_X11
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cairo/Makefile9
-rw-r--r--graphics/cairo/pkg-plist2
2 files changed, 8 insertions, 3 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index 54f941ef1ec9..d89bb2888685 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -15,7 +15,8 @@ COMMENT= Vector graphics library with cross-device output support
LIB_DEPENDS= pixman.1:${PORTSDIR}/graphics/libpixman \
freetype.9:${PORTSDIR}/print/freetype2 \
- png.5:${PORTSDIR}/graphics/png
+ png.5:${PORTSDIR}/graphics/png \
+ fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
USE_GNOME= gnometarget gnomehack
USE_LIBTOOL_VER=15
@@ -37,8 +38,12 @@ PLIST_SUB+= GLITZ=""
PLIST_SUB+= GLITZ="@comment "
.endif
-.if !defined(WITHOUT_X11)
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS+=--disable-xlib
+PLIST_SUB+= X11="@comment "
+.else
USE_XLIB= yes
+PLIST_SUB+= X11=""
.endif
post-patch:
diff --git a/graphics/cairo/pkg-plist b/graphics/cairo/pkg-plist
index b3377919f8f7..aec401c94fa9 100644
--- a/graphics/cairo/pkg-plist
+++ b/graphics/cairo/pkg-plist
@@ -4,7 +4,7 @@ include/cairo/cairo-ft.h
include/cairo/cairo-pdf.h
include/cairo/cairo-png.h
include/cairo/cairo-ps.h
-include/cairo/cairo-xlib.h
+%%X11%%include/cairo/cairo-xlib.h
include/cairo/cairo.h
lib/libcairo.a
lib/libcairo.so