diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-07-10 18:39:38 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-07-10 18:39:38 +0800 |
commit | 9a056e286b46a75cd7d82964f8b931ec1d9fbd23 (patch) | |
tree | 4bee5e901c0b1682b0918308e93384176ffbfaf3 | |
parent | 5cf24eb33bc2138b3cdf7a9d84206ed255634881 (diff) | |
download | freebsd-ports-gnome-9a056e286b46a75cd7d82964f8b931ec1d9fbd23.tar.gz freebsd-ports-gnome-9a056e286b46a75cd7d82964f8b931ec1d9fbd23.tar.zst freebsd-ports-gnome-9a056e286b46a75cd7d82964f8b931ec1d9fbd23.zip |
Add WITH_X11 knob, configure with --without-x if WITH_X11 is not defined.
Suggested by: Sergey Akifyev <asa@gascom.ru>
-rw-r--r-- | misc/mc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 8bbd28962d10..b0c48232fdb8 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -36,6 +36,10 @@ PLIST_SUB= CHARSETS="" PLIST_SUB= CHARSETS="@comment " .endif +.if !defined(WITH_X11) +CONFIGURE_ARGS+=--without-x +.endif + .if ${ARCH} == "alpha" # # something is wrong with slang on alpha: mc enters an infinite loop |