diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-07 06:42:13 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-07 06:42:13 +0000 |
commit | 615ef76bec62e303a7e1afcdfa4a50565336088c (patch) | |
tree | beefd409165d67ea7b8eba454423918aa059394d /x11-fonts/Xft | |
parent | Update to 0.7. (diff) |
Make Xft conditional on having XFree86 4.x installed. Also add a note
about adding an additional check with XFree86 4.3 gets added to the tree.
Notes
Notes:
svn path=/head/; revision=72676
Diffstat (limited to 'x11-fonts/Xft')
-rw-r--r-- | x11-fonts/Xft/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-fonts/Xft/Makefile b/x11-fonts/Xft/Makefile index c729f83857aa..f5839ff9ddb5 100644 --- a/x11-fonts/Xft/Makefile +++ b/x11-fonts/Xft/Makefile @@ -26,7 +26,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ LIBS="-L${X11BASE}/lib" WRKSRC= ${WRKDIR}/${DISTNAME}/Xft +.include <bsd.port.pre.mk> + +# TODO Add a check to make sure we're not using XFree86 4.3.x which will +# have Xft2 included by default. +.if ${XFREE86_VERSION} == 3 +BROKEN= Xft2 requires XFree86 4.x to build. +.endif + pre-patch: @${REINPLACE_CMD} -e 's|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |