diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2007-07-02 17:42:22 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2007-07-02 17:42:22 +0000 |
commit | 0138b922be0ff3e7d4ba3976d016bc7ece6801a2 (patch) | |
tree | 676dd4ecf8f6f2de2f317c1ddd92ca9c8ccb73eb /x11-fonts | |
parent | 7368641642290acc84bd8cdf40e82f367e9c4139 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=194696
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/xfs/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-fonts/xfs/Makefile b/x11-fonts/xfs/Makefile index abd7e863acee..d5ccfed14f1d 100644 --- a/x11-fonts/xfs/Makefile +++ b/x11-fonts/xfs/Makefile @@ -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 \ |