ports/78318: ports/mail/qsf doesn't honor build options

Clemens Fischer ino-qc at spotteswoode.de.eu.org
Wed Mar 2 16:30:15 UTC 2005


>Number:         78318
>Category:       ports
>Synopsis:       qsf can have different database backends, but build can't use them
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 02 16:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Clemens Fischer <ino-qc at spotteswoode.de.eu.org>
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
none
>Environment:

System: FreeBSD spotteswoode.dnsalias.org 5.3-STABLE FreeBSD 5.3-STABLE #7:
Sat Feb 12 16:46:26 CET 2005
root at spotteswoode.dnsalias.org:/mail/freebsd/obj/mail/freebsd/RELENG_5/src/sys/n2
i386

>Description:

mail/qsf (a bayesian-type message classifier) can be built with several
database backens.  the port correctly specifies "./configure" options for
them, which don't get proliferated into the gmake build.

>How-To-Repeat:

just specify any other than the builtin database and watch how the resulting
binary links to, but doesn't actually use the libraries.

>Fix:

in the working directory, i did

  "CFLAGS='-I/usr/local/include -L/usr/local/lib' ./configure --with-gdbm"

which fixed the problem for me.  maybe

MAKE_ENV+= "CFLAGS='-I/usr/local/include -L/usr/local/lib' ./configure --with-gdbm"
CONFIGURE_ENV+= "CFLAGS='-I/usr/local/include -L/usr/local/lib' ./configure --with-gdbm"

(adjust accordingly for other backends)

in the ports Makefile will be the fix?

  clemens
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list