Subject: pkg/19169: finance/gnucash does not need DEPENDS for swig
To: None <gnats-bugs@gnats.netbsd.org>
From: None <epg@pretzelnet.org>
List: netbsd-bugs
Date: 11/25/2002 15:08:02
>Number:         19169
>Category:       pkg
>Synopsis:       finance/gnucash does not need DEPENDS for swig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 12:47:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
>Environment:
System: NetBSD wundagore.pretzelnet.org 1.6 NetBSD 1.6 ($Id: WUNDAGORE 435 2002-10-02 02:08:24Z epg $) #4: Sun Nov 24 15:22:10 EST 2002 epg@wundagore.pretzelnet.org:/usr/src/sys/arch/i386/compile/WUNDAGORE i386
Architecture: i386
Machine: i386
>Description:
The gnucash package currently has a DEPENDS for swig.  I noticed that
the Debian and Red Hat packages do not have this dependency, and
further observed that the swig package contains no run-time files.  I
changed the DEPENDS to a BUILD_DEPENDS and rebuilt the package, and my
wife has been using it happily with no swig installed on the system
for the last few weeks.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/finance/gnucash/Makefile,v
retrieving revision 1.28
diff -a -u -r1.28 Makefile
--- Makefile	2002/10/06 02:57:15	1.28
+++ Makefile	2002/11/25 19:42:35
@@ -11,11 +11,11 @@
 HOMEPAGE=		http://www.gnucash.org/
 COMMENT=		Personal double-entry accounting program
 
-DEPENDS+=			swig-1.1p5:../../devel/swig
 BUILDLINK_DEPENDS.g-wrap=	g-wrap>=1.2.1:../../devel/g-wrap
 BUILDLINK_DEPENDS.g-wrap+=	g-wrap<1.3.0:../../devel/g-wrap
 BUILDLINK_DEPENDS.guile=	guile>=1.4:../../lang/guile
 BUILDLINK_DEPENDS.guile+=	guile<1.5.0:../../lang/guile
+BUILD_DEPENDS+=			swig-1.1p5:../../devel/swig
 BUILD_DEPENDS+=			bison>=1.28:../../devel/bison
 
 USE_GMAKE=		YES

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