Subject: pkg/19845: xfig-3.2.4 always depends on Xaw3d
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itohy@netbsd.org>
List: netbsd-bugs
Date: 01/14/2003 14:38:59
>Number:         19845
>Category:       pkg
>Synopsis:       xfig-3.2.4 always depends on Xaw3d
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 13 21:40:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     ITOH Yasufumi
>Release:        NetBSD 1.6K, pkgsrc on Jan. 13, 2003
>Organization:
>Environment:
System: NetBSD fmv.my.domain 1.6K NetBSD 1.6K (FMV) #14: Tue Nov 12 08:36:50 JST 2002 itohy@pino.my.domain:/w/src/sys/arch/i386/compile/FMV i386
Architecture: i386
Machine: i386
>Description:
	graphics/xfig depends on Xaw3d, even if XAW_TYPE=standard is
	specified in /etc/mk.conf.

# cd /w/pkgsrc/graphics/xfig
===> Extracting for xfig-3.2.4
...
gcc -O2    -I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R6/include/X11  -I/usr/X11R6/include   -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO   		 		 		 -DUSE_INLINE -DUSE_XPM  			-DUSE_JPEG -DI18N -DSETLOCALE 			    -I/usr/pkg/include -I/usr/X11R6/include -c SimpleMenu.c
SimpleMenu.c:42: X11/Xaw3d/XawInit.h: No such file or directory
SimpleMenu.c:43: X11/Xaw3d/SimpleMenP.h: No such file or directory
SimpleMenu.c:44: X11/Xaw3d/SmeBSB.h: No such file or directory
SimpleMenu.c:45: X11/Xaw3d/Cardinals.h: No such file or directory
*** Error code 1

Stop.
make: stopped in /w/pkgsrc/graphics/xfig/work.i386/xfig.3.2.4
*** Error code 1

Stop.
make: stopped in /w/pkgsrc/graphics/xfig
*** Error code 1

Stop.
make: stopped in /w/pkgsrc/graphics/xfig

>How-To-Repeat:
	# echo 'XAW_TYPE=standard' >> /etc/mk.conf
	# pkg_delete -r Xaw3d
	# cd .../pkgsrc/graphics/xfig
	# make

>Fix:
	Fix xfig not to include Xaw3d header files,
	or add dependency on Xaw3d unconditionally?

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