mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Add a test to instruct the user to rename ${PREFIX}/lib/libXft.so.1
if it is an incompatible version.
This commit is contained in:
parent
65b34cb9ef
commit
0447fa785e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43958
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= XFree86
|
||||
PORTVERSION= 4.1.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ${MASTER_SITE_XFREE}
|
||||
MASTER_SITE_SUBDIR= 4.1.0
|
||||
|
10
x11/XFree86-4/scripts/configure
vendored
10
x11/XFree86-4/scripts/configure
vendored
@ -24,6 +24,16 @@ yesno () {
|
||||
esac
|
||||
done
|
||||
}
|
||||
# workaround for compilation problems if XFree-4.0.x is installed
|
||||
if [ -e ${PREFIX}/lib/libXft.so.1 ]; then
|
||||
r=`nm ${PREFIX}/lib/libXft.so.1 | grep XftDirSave`
|
||||
if [ "X$r" = X ]; then
|
||||
echo "you seem to have an installed XFree-4.0.x port"
|
||||
echo "please rename or remove ${PREFIX}/lib/libXft.so.1"
|
||||
echo "in order to avoid compilation problems"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
F=$WRKDIR/.config
|
||||
configure () {
|
||||
rm -f $F
|
||||
|
Loading…
Reference in New Issue
Block a user