]> gitweb.michael.orlitzky.com - mjo-overlay.git/blobdiff - net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild
Block >sys-apps/logwatch-7.4.0 when USE=logwatch in postfix/amavis-logwatch.
[mjo-overlay.git] / net-mail / postfix-logwatch / postfix-logwatch-1.40.00.ebuild
index 0856eab5941a8f190b2e4fe56fe11ea7b5a73a6f..c800b65410c053d7674a8e2d99fa8014a6d5ae80 100644 (file)
@@ -11,9 +11,13 @@ SRC_URI="mirror://sourceforge/logreporters/${P}.tgz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+
+# >sys-apps/logwatch-7.4.0 ships our logwatch scripts and will
+# thus obsolete this use flag.
 IUSE="logwatch"
 
-RDEPEND="dev-lang/perl"
+RDEPEND="dev-lang/perl
+       logwatch? ( !>sys-apps/logwatch-7.4.0 )"
 
 src_prepare() {
        # Replace the default config file location with ours.