summaryrefslogtreecommitdiff
path: root/x11-fonts/libXft
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2003-01-25 05:23:48 +0000
committerBrian Feldman <green@FreeBSD.org>2003-01-25 05:23:48 +0000
commitaffbc636fef13fc8d8bfb2ff360dd91879dd4b31 (patch)
tree47dc9d27f97196914550e4e55d42765557e04334 /x11-fonts/libXft
parentUpdate to 2.4.21. (diff)
Make the xft-config script use -lXft2, not the old -lXft. This will
potentially unbreak all the ports which depend on x11-fonts/Xft.
Notes
Notes: svn path=/head/; revision=73967
Diffstat (limited to 'x11-fonts/libXft')
-rw-r--r--x11-fonts/libXft/Makefile1
-rw-r--r--x11-fonts/libXft/files/patch-xft-config.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-fonts/libXft/Makefile b/x11-fonts/libXft/Makefile
index 508c4094d2c6..5926df4a5239 100644
--- a/x11-fonts/libXft/Makefile
+++ b/x11-fonts/libXft/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Xft
PORTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://fontconfig.org/fontconfig/release/
DISTNAME= fcpackage.${PORTVERSION:S/./_/}
diff --git a/x11-fonts/libXft/files/patch-xft-config.in b/x11-fonts/libXft/files/patch-xft-config.in
new file mode 100644
index 000000000000..3bc6bbb1277f
--- /dev/null
+++ b/x11-fonts/libXft/files/patch-xft-config.in
@@ -0,0 +1,11 @@
+--- xft-config.in.orig Sat Jan 25 00:16:48 2003
++++ xft-config.in Sat Jan 25 00:17:02 2003
+@@ -89,7 +89,7 @@
+ fi
+
+ if test "$echo_libs" = "yes" ; then
+- libs="-lXft ${freetypelibs} ${fontconfiglibs} ${xrenderlibs}"
++ libs="-lXft2 ${freetypelibs} ${fontconfiglibs} ${xrenderlibs}"
+ if test "${libdir}" != "/usr/lib" ; then
+ echo -L${libdir} $libs
+ else