Add a check for a pango backend that lacks libXft support.
Submitted by: pav and Boris B. Samorodov
This commit is contained in:
parent
4987b2561a
commit
169df68fda
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=24135
1 changed files with 17 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#-
|
||||
# Copyright (c) 2004 FreeBSD GNOME Team <freebsd-gnome@FreeBSD.org>
|
||||
# Copyright (c) 2004-2005 FreeBSD GNOME Team <freebsd-gnome@FreeBSD.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -26,7 +26,7 @@
|
|||
#
|
||||
# Heh. "Tort."
|
||||
#
|
||||
# $Id: gnomelogalyzer.sh,v 1.1 2004-06-06 20:29:19 marcus Exp $
|
||||
# $Id: gnomelogalyzer.sh,v 1.2 2005-03-19 21:10:36 adamw Exp $
|
||||
#
|
||||
|
||||
|
||||
|
@ -130,6 +130,21 @@ else
|
|||
debug "OK"
|
||||
fi
|
||||
|
||||
#####
|
||||
#
|
||||
# TEST: Pango without libXft
|
||||
#
|
||||
# SOLUTION: portupgrade -f libXft && portupgrade -f pango
|
||||
|
||||
debug -n "Checking for a pango without libXft support... "
|
||||
if grep -q 'error: Xft Pango backend is required for x11 target' ${buildlog} ; then
|
||||
echo "Your Pango installation lacks libXft support."
|
||||
soln_portupgrade "-f -N libXft && portupgrade -f pango"
|
||||
exit
|
||||
else
|
||||
debug "OK"
|
||||
fi
|
||||
|
||||
#####
|
||||
#
|
||||
# Catch-all
|
||||
|
|
Loading…
Reference in a new issue