diff options
-rw-r--r-- | chat/jabberd2/Makefile | 3 | ||||
-rw-r--r-- | chat/jabberd2/options.mk | 18 |
2 files changed, 12 insertions, 9 deletions
diff --git a/chat/jabberd2/Makefile b/chat/jabberd2/Makefile index 51652e6dea2..e38f7e99934 100644 --- a/chat/jabberd2/Makefile +++ b/chat/jabberd2/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.108 2016/05/25 16:24:54 schnoebe Exp $ +# $NetBSD: Makefile,v 1.109 2016/05/29 17:24:48 schnoebe Exp $ DISTNAME= jabberd-2.4.0 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=jabberd2/jabberd2/releases/download/${DISTNAME}/} EXTRACT_SUFX= .tar.xz diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk index 0458925b7e7..3f345cd7bf2 100644 --- a/chat/jabberd2/options.mk +++ b/chat/jabberd2/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.28 2016/02/09 00:21:59 schnoebe Exp $ +# $NetBSD: options.mk,v 1.29 2016/05/29 17:24:48 schnoebe Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd2 PKG_OPTIONS_REQUIRED_GROUPS= auth storage mio @@ -11,11 +11,12 @@ PKG_OPTIONS_GROUP.storage+= storage-sqlite storage-db # mio implementations PKG_OPTIONS_GROUP.mio= mio-kqueue mio-select mio-poll mio-epoll # debugging +PKG_SUPPORTED_OPTIONS+= websocket PKG_SUPPORTED_OPTIONS+= debug -# PKG_SUPPORTED_OPTIONS+= websocket PKG_SUGGESTED_OPTIONS= auth-sqlite storage-sqlite PKG_SUGGESTED_OPTIONS+= mio-select mio-poll +PKG_SUGGESTED_OPTIONS+= websocket .include "../../mk/bsd.options.mk" @@ -98,9 +99,10 @@ CONFIGURE_ARGS+= --enable-mio=poll CONFIGURE_ARGS+= --enable-mio=select .endif -# .if !empty(PKG_OPTIONS:Mwebsocket) -# PLIST.ws= yes -# CONFIGURE_ARGS+= --enable-websocket -# .else -# CONFIGURE_ARGS+= --disable-websocket -# .endif +.if !empty(PKG_OPTIONS:Mwebsocket) +PLIST.ws= yes +CONFIGURE_ARGS+= --enable-websocket +.include "../../www/http-parser/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-websocket +.endif |