diff options
author | wiz <wiz@pkgsrc.org> | 2009-06-14 07:52:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-06-14 07:52:51 +0000 |
commit | 2bd66436dab4b2f88348089612296a315656df72 (patch) | |
tree | 2503eccab898d64fa0dac313036d4d41060c2512 /comms/conserver8/options.mk | |
parent | 431958d11f3774c559ee60cde2f0395d4254d52f (diff) | |
download | pkgsrc-2bd66436dab4b2f88348089612296a315656df72.tar.gz |
Fix bug reported by Chris Ross on pkgsrc-users (patch-ac).
While here, split off options into options.mk, convert to user-destdir,
and add VARBASE to BUILD_DEFS.
Bump PKGREVISION.
Diffstat (limited to 'comms/conserver8/options.mk')
-rw-r--r-- | comms/conserver8/options.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/comms/conserver8/options.mk b/comms/conserver8/options.mk new file mode 100644 index 00000000000..20c9b980bb8 --- /dev/null +++ b/comms/conserver8/options.mk @@ -0,0 +1,23 @@ +# $NetBSD: options.mk,v 1.1 2009/06/14 07:52:51 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.conserver8 +PKG_SUPPORTED_OPTIONS= pam ssl uds +PKG_SUGGESTED_OPTIONS= ssl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpam) +. include "../../mk/pam.buildlink3.mk" +CONFIGURE_ARGS+= --with-pam +.endif + +.if !empty(PKG_OPTIONS:Muds) +CONFIGURE_ARGS+= --with-uds +.endif + +.if !empty(PKG_OPTIONS:Mssl) +CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} +. include "../../security/openssl/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-openssl +.endif |