diff options
author | mph <mph@FreeBSD.org> | 2003-01-28 07:16:46 +0800 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 2003-01-28 07:16:46 +0800 |
commit | 4c8f7e5acc073aba0d197ca35538eed3f4f7dc86 (patch) | |
tree | 74b2a29c875232a6687c70bdfa3ee34ac6b17d93 | |
parent | 1d14f18366e7f885e9bd3e48fb940a8875ca78ae (diff) | |
download | freebsd-ports-gnome-4c8f7e5acc073aba0d197ca35538eed3f4f7dc86.tar.gz freebsd-ports-gnome-4c8f7e5acc073aba0d197ca35538eed3f4f7dc86.tar.zst freebsd-ports-gnome-4c8f7e5acc073aba0d197ca35538eed3f4f7dc86.zip |
Provide a WITHOUT_X11 option.
PR: ports/45960
Submitted by: Lev A. Serbryakov <lev@serebryakov.spb.ru>
-rw-r--r-- | games/angband/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/games/angband/Makefile b/games/angband/Makefile index 861683c9e5a7..be0cddb33d19 100644 --- a/games/angband/Makefile +++ b/games/angband/Makefile @@ -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> |