net-irc/anope: Fix build with USE=sql
authorSam James (sam_c) <sam@cmpct.info>
Tue, 5 May 2020 11:53:02 +0000 (11:53 +0000)
committerThomas Deutschmann <whissi@gentoo.org>
Tue, 5 May 2020 13:05:58 +0000 (15:05 +0200)
Not all modules are conditional:
* m_sqlite.cpp
* db_live.cpp
... are always built, so don't create an (incorrect) symlink.

Closes: https://bugs.gentoo.org/720984
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/15650
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
net-irc/anope/anope-2.0.7.ebuild

index 02e171b644412a4dff41257de3ff283dc8fbe992..e24c908ab98579160e6b51faaa3f703bed22b1fc 100644 (file)
@@ -66,8 +66,6 @@ src_prepare() {
        # Any SQL implementation
        if use sql ; then
           anope_enable_mod "m_sql_authentication.cpp"
-          anope_enable_mod "m_sql.cpp"
-          anope_enable_mod "m_sql_live.cpp"
        fi
 
        if use ldap ; then