2014-10-12 02:08:26 +02:00
|
|
|
# $NetBSD: options.mk,v 1.9 2014/10/12 00:08:26 gdt Exp $
|
2008-09-30 17:20:30 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
|
2012-02-23 13:16:31 +01:00
|
|
|
# bacula-static is broken -- see PR 42954
|
|
|
|
PKG_SUPPORTED_OPTIONS= ssl
|
2014-10-12 02:08:26 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= ssl
|
2008-09-30 17:20:30 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mbacula-static)
|
|
|
|
CONFIGURE_ARGS+= --enable-static-cons
|
|
|
|
CONFIGURE_ARGS+= --enable-static-dir
|
|
|
|
CONFIGURE_ARGS+= --enable-static-fd
|
|
|
|
CONFIGURE_ARGS+= --enable-static-sd
|
|
|
|
CONFIGURE_ARGS+= --enable-static-tools
|
2011-08-17 22:23:11 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-libtool
|
2008-09-30 17:20:30 +02:00
|
|
|
PLIST_SUBST+= STATIC=
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= STATIC="@comment "
|
|
|
|
.endif
|
2012-02-03 10:57:19 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
2012-09-08 14:36:57 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-openssl
|
2012-02-03 10:57:19 +01:00
|
|
|
.endif
|