Move the amanda-client option definitions to the common options.mk so

that 'PKG_OPTIONS.amanda' works properly.
This commit is contained in:
sbd 2012-07-05 06:57:44 +00:00
parent b8dc0644f0
commit 8c40d3b2a1
2 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.49 2012/05/21 04:27:09 sbd Exp $
# $NetBSD: Makefile,v 1.50 2012/07/05 06:57:44 sbd Exp $
#
PKGNAME= amanda-client-${VERS}
@ -12,11 +12,6 @@ PKG_DESTDIR_SUPPORT= destdir
GNU_CONFIGURE= yes
USE_TOOLS+= awk:run perl:run
PKG_SUPPORTED_OPTIONS+= amanda-smb amanda-dump-snap
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SMB:amanda-smb
PKG_OPTIONS_LEGACY_VARS+= AMANDA_DUMP_SNAP:amanda-dump-snap
.include "../../mk/bsd.prefs.mk"
.include "../../sysutils/amanda-common/Makefile.common"
.include "../../sysutils/amanda-common/buildlink3.mk"

View file

@ -1,13 +1,18 @@
# $NetBSD: options.mk,v 1.5 2012/06/12 15:46:03 wiz Exp $
# $NetBSD: options.mk,v 1.6 2012/07/05 06:57:45 sbd Exp $
# Since amanda's ipv6 usage is broken, turn it off by default.
PKG_OPTIONS_VAR= PKG_OPTIONS.amanda
# Common options.
PKG_SUPPORTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh
PKG_SUGGESTED_OPTIONS+= inet6 amanda-ssh
# Client options.
PKG_SUPPORTED_OPTIONS+= amanda-smb amanda-dump-snap
PKG_OPTIONS_LEGACY_VARS+= AMANDA_FQDN:amanda-fqdn
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SSH:amanda-ssh
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SMB:amanda-smb
PKG_OPTIONS_LEGACY_VARS+= AMANDA_DUMP_SNAP:amanda-dump-snap
.include "../../mk/bsd.options.mk"