mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Provide a WITHOUT_X11 option.
PR: ports/45960 Submitted by: Lev A. Serbryakov <lev@serebryakov.spb.ru>
This commit is contained in:
parent
95d6f6abf3
commit
01cd67a161
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74111
@ -14,8 +14,18 @@ MASTER_SITES= ftp://clockwork.dementia.org/angband/Source/ \
|
||||
MAINTAINER= mph@freebsd.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
.if !defined(WITHOUT_X11)
|
||||
USE_XLIB= yes
|
||||
|
||||
CONFIGURE_ARGS= --with-setgid=games --with-x
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-setgid=games --with-x=no
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(WITHOUT_X11)
|
||||
@${ECHO_MSG} "You could define WITHOUT_X11, if you don't want X support"
|
||||
.else
|
||||
@${ECHO_MSG} "Building without X support"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user