diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-03-09 13:43:32 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-03-09 13:43:32 +0000 |
commit | 85df9d23c0978277d80896fe6652b78749cdcbb4 (patch) | |
tree | 3304feca38b8b3cbf99cc0f8a76f1f442288038d /graphics | |
parent | 7601d66e047bf3057099c96c3c37dda8020f5072 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/Makefile | 9 | ||||
-rw-r--r-- | graphics/cairo/pkg-plist | 2 |
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 |