diff options
author | lesi <lesi@FreeBSD.org> | 2007-07-03 01:42:22 +0800 |
---|---|---|
committer | lesi <lesi@FreeBSD.org> | 2007-07-03 01:42:22 +0800 |
commit | e9b436b74bb89237ea587717d62c9196fd007f23 (patch) | |
tree | 239b581648e163d0aaea0886f65ec77633251f4c /x11-fonts | |
parent | 783dd2c8b0e71111daa8296c476b100caa82e2a9 (diff) | |
download | freebsd-ports-gnome-e9b436b74bb89237ea587717d62c9196fd007f23.tar.gz freebsd-ports-gnome-e9b436b74bb89237ea587717d62c9196fd007f23.tar.zst freebsd-ports-gnome-e9b436b74bb89237ea587717d62c9196fd007f23.zip |
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.
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 \ |