diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-02 21:39:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-02 21:39:53 +0000 |
commit | fa7042a3d6197b5b6548110795cc1879e82a1010 (patch) | |
tree | a601d5fabd14de181ff69aa1bdb4ab8ed7e7c09e /chat | |
parent | 935ea1a5e9dfb482a98b38f0fde37cd65a408c27 (diff) | |
download | pkgsrc-fa7042a3d6197b5b6548110795cc1879e82a1010.tar.gz |
Convert to options framework.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/jabberd/Makefile | 10 | ||||
-rw-r--r-- | chat/jabberd/options.mk | 10 |
2 files changed, 13 insertions, 7 deletions
diff --git a/chat/jabberd/Makefile b/chat/jabberd/Makefile index 78c22f4b3dd..9ffdf0a3208 100644 --- a/chat/jabberd/Makefile +++ b/chat/jabberd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2005/05/22 20:07:42 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2005/06/02 21:39:53 wiz Exp $ # DISTNAME= jabber-1.4.2 @@ -29,18 +29,14 @@ EGDIR= ${PREFIX}/share/examples/jabberd LIBDIR= ${PREFIX}/lib/jabberd INCDIR= ${PREFIX}/include/jabberd -.include "../../mk/bsd.prefs.mk" +.include "options.mk" # some systems don't have u_intN_t CPPFLAGS+= -Du_int8_t=uint8_t BUILD_DEFS+= JABBERD_USER JABBERD_GROUP \ JABBERD_LOGDIR JABBERD_SPOOLDIR \ - JABBERD_PIDDIR USE_INET6 - -.if !empty(USE_INET6:M[Yy][Ee][Ss]) -CONFIGURE_ARGS+= --enable-ipv6 -.endif + JABBERD_PIDDIR PKG_GROUPS= ${JABBERD_GROUP} PKG_USERS= ${JABBERD_USER}:${JABBERD_GROUP}::Jabberd\\ user diff --git a/chat/jabberd/options.mk b/chat/jabberd/options.mk new file mode 100644 index 00000000000..5a528b5abba --- /dev/null +++ b/chat/jabberd/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2005/06/02 21:39:53 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif |