Bug 76920

Summary: dspam w/neural networking doesn't recognize mysql as being selected
Product: Ports & Packages Reporter: Thomas T. Veldhouse <veldy>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Thomas T. Veldhouse 2005-01-31 20:20:15 UTC
If you select the mysql-4.1 option and also select neural-networking it will complain that you must either select mysql or postgresql to use neural networking, but clearly mysql 4.1 has been selected.  The only way to build is to deselect neural networking.

MAINTAINER=itetcu@people.tecnik93.com

How-To-Repeat: See full description.
Comment 1 Ion-Mihai " IOnut " Tetcu 2005-01-31 20:36:28 UTC
--- Makefile.old        Mon Jan 31 22:35:45 2005
+++ Makefile    Mon Jan 31 22:36:01 2005
@@ -482,7 +482,7 @@
        @${ECHO_CMD} "You can use one and only one database back-end at once."
        @${FALSE}
 .endif
-.if defined(WITH_NEURAL_NET) && !(defined(HAVE_MYSQL) || defined(WITH_POSTGRESQL))
+.if defined(WITH_NEURAL_NET) && !(defined(USE_MYSQL) || defined(WITH_POSTGRESQL))
        @${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
        @${FALSE}
 .endif


-- 
IOnut
Unregistered ;) FreeBSD "user"
Comment 2 Thomas T. Veldhouse 2005-01-31 21:39:40 UTC
Ion-Mihai Tetcu wrote:

>--- Makefile.old        Mon Jan 31 22:35:45 2005
>+++ Makefile    Mon Jan 31 22:36:01 2005
>@@ -482,7 +482,7 @@
>        @${ECHO_CMD} "You can use one and only one database back-end at once."
>        @${FALSE}
> .endif
>-.if defined(WITH_NEURAL_NET) && !(defined(HAVE_MYSQL) || defined(WITH_POSTGRESQL))
>+.if defined(WITH_NEURAL_NET) && !(defined(USE_MYSQL) || defined(WITH_POSTGRESQL))
>        @${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
>        @${FALSE}
> .endif
>
>
>  
>
Yes, this patch works.  Thanks.

-- 
Thomas T. Veldhouse
Key Fingerprint: 07C7 BF05 4176 F50B A083  4542 0118 1315 761F D300
Spammers please contact me at renegade@veldy.net.
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 15:52:45 UTC
State Changed
From-To: open->closed

Committed, thanks!