1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

Fix package without X11;

Make X11 off by default: software it very useful w/o x11, so do not
pull huge deps by default.

PR:		206819
Submitted by:	timp87@gmail.com
This commit is contained in:
Dmitry Sivachenko 2016-02-01 14:29:16 +00:00
parent 9f4e837b51
commit b0eab6ba94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407720
2 changed files with 5 additions and 4 deletions

View File

@ -9,10 +9,11 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Collection of clustering tools
LICENSE= BSD2CLAUSE
GNU_CONFIGURE= yes
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
OPTIONS_SUB= yes
X11_USE= XORG=x11
@ -20,7 +21,7 @@ X11_USE= XORG=x11
.include <bsd.port.options.mk>
post-patch:
.if empty(PORT_OPTIONS:MX11)
.if !$(PORT_OPTIONS:MX11)
${REINPLACE_CMD} -E 's,^(SUBDIRS) = .*,\1 = barrier dsh jsd pcp dtop tools,' ${WRKSRC}/Makefile.in
.endif

View File

@ -26,5 +26,5 @@ man/man1/pdf.1.gz
man/man1/prm.1.gz
man/man1/rseq.1.gz
man/man1/run.1.gz
man/man1/dvt.1.gz
man/man1/rvt.1.gz
%%X11%%man/man1/dvt.1.gz
%%X11%%man/man1/rvt.1.gz