1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Compile with FONTCACHE by default as before Xorg 7 and add WITHOUT_XFS_CACHE

for disabling this that also comments out relevant entries in default
config file.
This commit is contained in:
Dejan Lesjak 2007-07-02 17:42:22 +00:00
parent 7368641642
commit 0138b922be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194696

View File

@ -7,7 +7,7 @@
PORTNAME= xfs
PORTVERSION= 1.0.4
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= x11-fonts
@ -21,6 +21,14 @@ ALL_TARGET= all config
MAN1= xfs.1
.if !defined(WITHOUT_XFS_CACHE)
USE_XORG+= fontcacheproto x11
CFLAGS+= -DFONTCACHE
.else
post-patch:
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
.endif
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/lib/X11/fs/config.default
@if [ ! -f ${PREFIX}/lib/X11/fs/config ]; then \