diff options
author | danfe <danfe@FreeBSD.org> | 2006-07-05 21:14:37 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2006-07-05 21:14:37 +0800 |
commit | f7624d90591ee786f51207b5f3b3cf0be2dcd92b (patch) | |
tree | e8bef9755edf0ce4eff6fad4ef03f8dd26b157a8 /games | |
parent | 531f92768a83200b960cee3b108a9794b61ba118 (diff) | |
download | freebsd-ports-gnome-f7624d90591ee786f51207b5f3b3cf0be2dcd92b.tar.gz freebsd-ports-gnome-f7624d90591ee786f51207b5f3b3cf0be2dcd92b.tar.zst freebsd-ports-gnome-f7624d90591ee786f51207b5f3b3cf0be2dcd92b.zip |
Provide a knob to disable kqueue support.
Diffstat (limited to 'games')
-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 |