Skip site navigation (1)Skip section navigation (2)
Date:      2 Mar 2005 17:20:34 +0100
From:      "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org>
To:        "freebsd problem reports" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/78318: ports/mail/qsf doesn't honor build options
Message-ID:  <mztmaujb.fsf@ID-23066.news.dfncis.de>
Resent-Message-ID: <200503021630.j22GUE2b089102@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mztmaujb.fsf>