diff options
author | jmz <jmz@FreeBSD.org> | 2001-06-13 19:51:00 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2001-06-13 19:51:00 +0000 |
commit | 17ca4f439eed4e98d62669eba4507e519d5b4a2a (patch) | |
tree | 9491c92545998aeae464b594759b8c21242b399d /x11/XFree86-4 | |
parent | 2e7867306e86285aa0f861f90d1c641ef958d26b (diff) | |
download | FreeBSD-ports-17ca4f439eed4e98d62669eba4507e519d5b4a2a.zip FreeBSD-ports-17ca4f439eed4e98d62669eba4507e519d5b4a2a.tar.gz |
Add a test to instruct the user to rename ${PREFIX}/lib/libXft.so.1
if it is an incompatible version.
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r-- | x11/XFree86-4/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-4/scripts/configure | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile index 8288834..5bf5b23 100644 --- a/x11/XFree86-4/Makefile +++ b/x11/XFree86-4/Makefile @@ -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 diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure index 8f931ce..03699ec 100644 --- a/x11/XFree86-4/scripts/configure +++ b/x11/XFree86-4/scripts/configure @@ -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 |