From nobody@FreeBSD.org  Tue Apr 12 05:59:56 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1F4D016A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Apr 2005 05:59:56 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 02B3A43D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Apr 2005 05:59:56 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3C5xtJo051050
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Apr 2005 05:59:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j3C5xtPZ051049;
	Tue, 12 Apr 2005 05:59:55 GMT
	(envelope-from nobody)
Message-Id: <200504120559.j3C5xtPZ051049@www.freebsd.org>
Date: Tue, 12 Apr 2005 05:59:55 GMT
From: Jim Trigg <jtrigg@spamcop.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gnucash fails to build properly when db4.1 is installed
X-Send-Pr-Version: www-2.3

>Number:         79817
>Category:       ports
>Synopsis:       finance/gnucash fails to build properly when db4.1 is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 12 06:01:01 GMT 2005
>Closed-Date:    Thu May 12 15:52:00 GMT 2005
>Last-Modified:  Thu May 12 15:52:00 GMT 2005
>Originator:     Jim Trigg
>Release:        4.10-RELEASE
>Organization:
>Environment:
FreeBSD argent.heraldsnet.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jul  2 23:36:48 EDT 2004     root@argent.heraldsnet.org:/usr/obj/usr/src/sys/K7WINE  i386
>Description:
There are two errors in the gnucash Makefile which prevent it from building correctly when db41 is installed.  First, the db4.0 dependency is not removed, and second, the db41 dependency has the wrong shared libary name.
>How-To-Repeat:
Install databases/db41 and then attempt to make finance/gnucash.
>Fix:
Remove the db4.0 line from the standard LIBDEPENDS macro definition; change db4.0 to db41.1 in the conditional section when a db41 header file exists.  Unified diff to follow.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Apr 12 20:47:13 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79817 

From: "Jim Trigg" <jtrigg@spamcop.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/79817: finance/gnucash fails to build properly when 
     db4.1 is installed
Date: Thu, 14 Apr 2005 10:46:47 -0400 (EDT)

 Fix: Apply the following patch to finance/gnucash/Makefile.
 
 --- Makefile.orig       2005-04-14 09:59:44.000000000 -0400
 +++ Makefile    2005-04-14 10:00:18.000000000 -0400
 @@ -21,7 +21,6 @@
                 guppi.16:${PORTSDIR}/math/guppi \
                 popt.0:${PORTSDIR}/devel/popt \
                 ofx.1:${PORTSDIR}/finance/libofx \
 -               db4.0:${PORTSDIR}/databases/db4 \
                 gw-standard.0:${PORTSDIR}/devel/g-wrap
  RUN_DEPENDS=  
 ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile \
                 ${SITE_PERL}/HTML/Base.pm:${PORTSDIR}/www/p5-HTML \
 @@ -51,7 +50,7 @@
  .include <bsd.port.pre.mk>
 
  .if exists(${LOCALBASE}/include/db41/db_185.h)
 -LIB_DEPENDS+=  db4.0:${PORTSDIR}/databases/db41
 +LIB_DEPENDS+=  db41.1:${PORTSDIR}/databases/db41
  post-patch:
         @${REINPLACE_CMD} -e "s|db4/db_185.h|db41/db_185.h|g" \
                 ${WRKSRC}/configure
 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Thu May 12 15:51:43 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79817 
>Unformatted:
