pkgsrc/comms/conserver8/options.mk
wiz a56aa3ac5e 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.
2009-06-14 07:52:51 +00:00

23 lines
539 B
Makefile

# $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