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:
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
|
@ -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/./_/}
|
||||
|
|
11
x11-fonts/Xft/files/patch-xft-config.in
Normal file
11
x11-fonts/Xft/files/patch-xft-config.in
Normal 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
|
|
@ -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/./_/}
|
||||
|
|
11
x11-fonts/libXft/files/patch-xft-config.in
Normal file
11
x11-fonts/libXft/files/patch-xft-config.in
Normal 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
|
Loading…
Reference in a new issue