freebsd-ports/x11-fonts/xfs/Makefile
Gleb Popov 3312d02769 x11/xtrans: Don't unlink X11 Unix sockets.
Without this change calling `Xorg -displayfd ..` would always make X to use
:0 as the DISPLAY. This was a showstopper for running parallel desktop sessions.

The leftover UDS' are cleaned up during system's boot by the /etc/rc.d/cleartmp
service.

Based on work of jbeich and Olivier Certner <olivier.freebsd@free.fr>.

PR:		253277
Approved by:	manu
Sponsored by:	Serenity Cybersecurity, LLC
Differential Revision:	https://reviews.freebsd.org/D30557
2023-09-01 14:47:43 +03:00

32 lines
760 B
Makefile

PORTNAME= xfs
PORTVERSION= 1.2.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fonts
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org font server
WWW= https://www.x.org/
USES= cpe gmake xorg xorg-cat:app
CPE_VENDOR= x.org
CPE_PRODUCT= x_font_server
USE_XORG= libfs xfont2 xorgproto xtrans
USE_RC_SUBR= xfs
CONFIGURE_ARGS= --without-xmlto --without-fop
post-patch:
${REINPLACE_CMD} '/^config_DATA/d' ${WRKSRC}/config/Makefile.in
.if defined(WITHOUT_XFS_CACHE)
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
.endif
post-build:
@cd ${WRKSRC}/config/ && ${MAKE_CMD} config
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/fs
${INSTALL_SCRIPT} ${WRKSRC}/config/config \
${STAGEDIR}${PREFIX}/etc/X11/fs/config.sample
.include <bsd.port.mk>