Subject: pkg/16807: Changed wm/sawfish to use buildlink to solve build errors
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 05/14/2002 15:26:14
>Number:         16807
>Category:       pkg
>Synopsis:       Changed wm/sawfish to use buildlink to solve build errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 14 06:27:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.5ZC
>Organization:
HispaBSD
>Environment:
	
	
System: NetBSD darkstar.local 1.5ZC NetBSD 1.5ZC (DARKSTAR) #37: Sun May 12 13:28:55 CEST 2002 juli@darkstar.local:/home/pub/NetBSD/src/sys/arch/i386/compile/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	wm/sawfish fails to include gdk_imlib.h when building on a system
	that uses xpkgwedge. I haven't checked it in any other system,
	though.
>How-To-Repeat:
	
>Fix:
	This proposed patch changes some dependancies to use buildlink.mk
	files, which solve the problem of inclusion of gdk_imlib.h.

--- Makefile.common.orig	Tue May 14 15:21:36 2002
+++ Makefile.common	Tue May 14 15:23:25 2002
@@ -10,8 +10,6 @@
 
 DEPENDS+=		librep>=0.15.1nb1:../../lang/librep
 DEPENDS+=		rep-gtk>=0.15nb2:../../x11/rep-gtk
-DEPENDS+=		imlib>=1.9.11nb1:../../graphics/imlib
-DEPENDS+=		control-center-[0-9]*:../../x11/controlcenter
 
 USE_X11=		# defined
 
@@ -21,5 +19,7 @@
 FILESDIR=		${.CURDIR}/../../wm/sawfish/files
 PATCHDIR=		${.CURDIR}/../../wm/sawfish/patches
 
+.include "../../graphics/imlib/buildlink.mk"
+.include "../../x11/controlcenter/buildlink.mk"
 .include "../../mk/texinfo.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: