diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2006-07-05 13:14:37 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2006-07-05 13:14:37 +0000 |
commit | 18c0cff263569165a4cd91700fd477abd5eb3fcf (patch) | |
tree | 5da96eabe5e48fd34c369736756b98e1ad6a6633 /games/mvdsv | |
parent | 230cf4127044da7495bf5713df4e95dcac80a4bb (diff) | |
download | ports-18c0cff263569165a4cd91700fd477abd5eb3fcf.tar.gz ports-18c0cff263569165a4cd91700fd477abd5eb3fcf.zip |
Provide a knob to disable kqueue support.
Notes
Notes:
svn path=/head/; revision=166980
Diffstat (limited to 'games/mvdsv')
-rw-r--r-- | games/mvdsv/Makefile | 3 | ||||
-rw-r--r-- | games/mvdsv/files/Makefile | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/games/mvdsv/Makefile b/games/mvdsv/Makefile index 1b69aa99bdc2..0ac6eca66f8d 100644 --- a/games/mvdsv/Makefile +++ b/games/mvdsv/Makefile @@ -34,6 +34,9 @@ MAKE_ARGS+= BYTE_ORDER=__BIG_ENDIAN__ .endif pre-everything:: +.if !defined(WITHOUT_KQUEUE) + @${ECHO_MSG} "Define WITHOUT_KQUEUE to disable Kqueue support" +.endif .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options" .endif diff --git a/games/mvdsv/files/Makefile b/games/mvdsv/files/Makefile index e3b1fd0bf8f9..f277556e33ed 100644 --- a/games/mvdsv/files/Makefile +++ b/games/mvdsv/files/Makefile @@ -14,6 +14,10 @@ DO_CFLAGS = ${CFLAGS} -funsigned-char -I${LOCALBASE}/include -Dstricmp=strcasecmp \ -DSERVERONLY -DUSE_PR2 -D${BYTE_ORDER}Q__ +.if !defined(WITHOUT_KQUEUE) +DO_CFLAGS+= -DKQUEUE +.endif + .if ${ARCH} == "i386" && !defined(WITHOUT_X86_ASM) DO_CFLAGS += -Did386 .endif |