Make the xft-config script use -lXft2, not the old -lXft. This will

potentially unbreak all the ports which depend on x11-fonts/Xft.
This commit is contained in:
Brian Feldman 2003-01-25 05:23:48 +00:00
parent 56e46ea21e
commit affbc636fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73967
4 changed files with 24 additions and 0 deletions

View file

@ -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/./_/}

View file

@ -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

View file

@ -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/./_/}

View file

@ -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