Thu Jul 5 06:57:45 2012 UTC ()
Move the amanda-client option definitions to the common options.mk so
that 'PKG_OPTIONS.amanda' works properly.


(sbd)
diff -r1.49 -r1.50 pkgsrc/sysutils/amanda-client/Makefile
diff -r1.5 -r1.6 pkgsrc/sysutils/amanda-common/options.mk

cvs diff -r1.49 -r1.50 pkgsrc/sysutils/amanda-client/Makefile (expand / switch to context diff)
--- pkgsrc/sysutils/amanda-client/Makefile 2012/05/21 04:27:09 1.49
+++ pkgsrc/sysutils/amanda-client/Makefile 2012/07/05 06:57:44 1.50
@@ -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}
@@ -11,11 +11,6 @@
 
 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"

cvs diff -r1.5 -r1.6 pkgsrc/sysutils/amanda-common/options.mk (expand / switch to context diff)
--- pkgsrc/sysutils/amanda-common/options.mk 2012/06/12 15:46:03 1.5
+++ pkgsrc/sysutils/amanda-common/options.mk 2012/07/05 06:57:45 1.6
@@ -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"