Subject: pkg/17709: Depend on gnome-libs and buildlinkify gnome-media
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 07/24/2002 18:33:32
>Number:         17709
>Category:       pkg
>Synopsis:       Depend on gnome-libs and buildlinkify gnome-media
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 24 09:33:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6D
>Organization:
HispaBSD
>Environment:
	
	
System: NetBSD darkstar.local 1.6D NetBSD 1.6D (DARKSTAR) #0: Mon Jul 22 12:44:12 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	audio/gnome-media currently depends on gnome-core. This is not needed,
	as it works fine with gnome-libs. This last package causes less
	overhead in the package system, and makes gnome-media tools work
	without the need of a full gnome system.

	The second thing the fix does is buildlinkify the package.
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/audio/gnome-media/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile	2002/07/17 13:22:49	1.13
+++ Makefile	2002/07/24 16:29:07
@@ -9,9 +9,8 @@
 HOMEPAGE=	http://www.gnome.org/
 COMMENT=	Set of audio/multimedia applications for GNOME
 
-DEPENDS+=	gnome-core>=1.4.0.4nb1:../../x11/gnome-core
-
 GNU_CONFIGURE=	YES
+USE_BUILDLINK_ONLY=	YES
 USE_LIBTOOL=	YES
 USE_X11BASE=	YES
 USE_GMAKE=	YES
@@ -19,6 +18,6 @@
 CONFIGURE_ARGS+=--localstatedir=${X11PREFIX}/var/lib
 
 CONFIGURE_ENV+=	XGETTEXT="${LOCALBASE}/bin/xgettext"
-CPPFLAGS+=	-I${LOCALBASE}/include
 
+.include "../../x11/gnome-libs/buildlink.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: