diff options
author | kwm <kwm@FreeBSD.org> | 2013-12-06 02:27:03 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-12-06 02:27:03 +0800 |
commit | ea8a4cb19b9bc4b8aedd6be55dc4f22d61da3405 (patch) | |
tree | 4a4fe17c1996e0fc1e820d39469a36b99db83db2 /x11-fonts | |
parent | 8f484d5b21d4613adce424ae56f43844002883d0 (diff) | |
download | freebsd-ports-gnome-ea8a4cb19b9bc4b8aedd6be55dc4f22d61da3405.tar.gz freebsd-ports-gnome-ea8a4cb19b9bc4b8aedd6be55dc4f22d61da3405.tar.zst freebsd-ports-gnome-ea8a4cb19b9bc4b8aedd6be55dc4f22d61da3405.zip |
Add patch to fix build with freetype 2.5.1.
Use a LIB_DEPEND line to replace a RUN_/BUILD_ lines for fontconfig.
Stageify.
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/libXft/Makefile | 11 | ||||
-rw-r--r-- | x11-fonts/libXft/files/patch-src_xftglyphs.c | 17 | ||||
-rw-r--r-- | x11-fonts/libXft/pkg-plist | 1 |
3 files changed, 22 insertions, 7 deletions
diff --git a/x11-fonts/libXft/Makefile b/x11-fonts/libXft/Makefile index 28eb60397ee0..9cf1b5528f24 100644 --- a/x11-fonts/libXft/Makefile +++ b/x11-fonts/libXft/Makefile @@ -7,16 +7,12 @@ CATEGORIES= x11-fonts MAINTAINER= gnome@FreeBSD.org COMMENT= Client-sided font API for X applications -LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 -BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig -RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig XORG_CAT= lib USE_XORG= xproto:both xrender -MAN3= Xft.3 - -NO_STAGE= yes post-extract: @${CP} ${FILESDIR}/xft-config.in \ ${WRKSRC}/xft-config.in @@ -27,6 +23,7 @@ post-patch: post-install: @${INSTALL_SCRIPT} ${WRKSRC}/xft-config \ - ${PREFIX}/bin/ + ${STAGEDIR}${PREFIX}/bin/ + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXft.so.2 .include <bsd.port.mk> diff --git a/x11-fonts/libXft/files/patch-src_xftglyphs.c b/x11-fonts/libXft/files/patch-src_xftglyphs.c new file mode 100644 index 000000000000..0ce9c8c75683 --- /dev/null +++ b/x11-fonts/libXft/files/patch-src_xftglyphs.c @@ -0,0 +1,17 @@ +--- src/xftglyphs.c.orig 2012-06-02 18:36:35.000000000 +0200 ++++ src/xftglyphs.c 2013-12-05 16:57:20.000000000 +0100 +@@ -21,10 +21,11 @@ + */ + + #include "xftint.h" +-#include <freetype/ftoutln.h> +-#include <freetype/ftlcdfil.h> + +-#include <freetype/ftsynth.h> ++#include <ft2build.h> ++#include FT_OUTLINE_H ++#include FT_LCD_FILTER_H ++#include FT_SYNTHESIS_H + + /* + * Validate the memory info for a font diff --git a/x11-fonts/libXft/pkg-plist b/x11-fonts/libXft/pkg-plist index 5cc50dcb281a..8f888b747cc4 100644 --- a/x11-fonts/libXft/pkg-plist +++ b/x11-fonts/libXft/pkg-plist @@ -6,4 +6,5 @@ lib/libXft.la lib/libXft.so lib/libXft.so.2 libdata/pkgconfig/xft.pc +man/man3/Xft.3.gz @dirrm include/X11/Xft |