Subject: pkg/29354: mail/bogofilter build fail if math/gsl is installed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 02/13/2005 06:19:00
>Number:         29354
>Category:       pkg
>Synopsis:       mail/bogofilter build fail if math/gsl is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 06:19:00 +0000 2005
>Originator:     Takahiro Kambe
>Release:        NetBSD 2.99.15
>Organization:
Takahiro Kambe
>Environment:
	
	
System: NetBSD reef.back-street.net 2.99.15 NetBSD 2.99.15 (CF-R3E) #26: Tue Feb 8 13:44:19 JST 2005 taca@reef.back-street.net:/var/obj/sys/arch/i386/compile/CF-R3E i386
Architecture: i386
Machine: i386
>Description:
	mail/bogofilter build fail if math/gsl is installed, failing to
	link with libgsl.
>How-To-Repeat:
	Install math/gsl and try to build mail/bogofilter.
>Fix:
	Two way to fix.

	1. Make depends mail/bogofilter package to math/gsl.

--- Makefile.orig	2005-02-13 15:08:45.000000000 +0900
+++ Makefile	2005-02-13 15:10:52.000000000 +0900
@@ -26,4 +26,5 @@
 BUILDLINK_TRANSFORM+=	l:db:db4
 
 .include "../../databases/db4/buildlink3.mk"
+.include "../../math/gsl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

	2. Explicitly disable checking gsl library.  bogofilter has
	   gsl-1.4's subset.

--- Makefile.orig	2005-02-13 15:08:45.000000000 +0900
+++ Makefile	2005-02-13 15:15:02.000000000 +0900
@@ -17,6 +17,7 @@
 USE_PKGINSTALL=	YES
 
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=	--with-included-gsl
 
 EGDIR=			${PREFIX}/share/examples/bogofilter
 CONF_FILES=		${EGDIR}/bogofilter.cf ${PKG_SYSCONFDIR}/bogofilter.cf

>Unformatted: