Subject: pkg/15277: editors/nedit build fail with xpkgwedge installation
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 01/18/2002 00:44:30
>Number:         15277
>Category:       pkg
>Synopsis:       editors/nedit build fail with xpkgwedge installation
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 17 07:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        -current 1.5Z
>Organization:
	
>Environment:
	<machine, os, target, libraries (multiple lines)>
System: NetBSD river.my.domain 1.5Z NetBSD 1.5Z (River) #0: Wed Dec 19 18:52:25 JST 2001     root@river.my.domain:/usr/src/sys/arch/i386/compile/River i386
Architecture: i386
Machine: i386
>Description:
Building editors/nedit fails with following message when you use xpkgwedge.

cc -c -O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD  printUtils.c
printUtils.c:62: Xm/Xm.h: No such file or directory
printUtils.c:63: Xm/Form.h: No such file or directory
printUtils.c:64: Xm/LabelG.h: No such file or directory
printUtils.c:65: Xm/PushB.h: No such file or directory
printUtils.c:66: Xm/SeparatoG.h: No such file or directory
printUtils.c:67: Xm/Text.h: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/tmp/editors/nedit/work/nedit-5.2/util
*** Error code 1

Stop.
make: stopped in /usr/tmp/editors/nedit/work/nedit-5.2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/nedit
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/nedit

>How-To-Repeat:
# cd /usr/pkgsrc/editors/nedit
# make install

>Fix:
diff -Nru nedit.orig/distinfo nedit/distinfo
--- nedit.orig/distinfo	Fri Jan 18 00:12:41 2002
+++ nedit/distinfo	Fri Jan 18 00:35:43 2002
@@ -2,5 +2,5 @@
 
 SHA1 (nedit-5.2-src.tar.gz) = 00327cb34f02318eb786d44051478dc367f65563
 Size (nedit-5.2-src.tar.gz) = 768534 bytes
-SHA1 (patch-aa) = 3e84aa03d60cf52a98a2c12053c045e8bc0cddeb
+SHA1 (patch-aa) = 585e9e76547eb7f1a7595e945a8558abcb927dd0
 SHA1 (patch-ab) = 1d566822879aa6519bea91acb03cdba139edd250
diff -Nru nedit.orig/patches/patch-aa nedit/patches/patch-aa
--- nedit.orig/patches/patch-aa	Fri Jan 18 00:12:41 2002
+++ nedit/patches/patch-aa	Fri Jan 18 00:35:43 2002
@@ -1,10 +1,12 @@
-$NetBSD: patch-aa,v 1.9 2001/10/31 00:03:16 mjl Exp $
-
---- makefiles/Makefile.netbsd.orig	Sat Aug 18 01:02:55 2001
-+++ makefiles/Makefile.netbsd	Wed Oct 31 00:18:05 2001
-@@ -9,6 +9,6 @@
+$NetBSD$
+--- makefiles/Makefile.netbsd.orig	Sat Aug 18 08:02:55 2001
++++ makefiles/Makefile.netbsd	Fri Jan 18 00:06:56 2002
+@@ -7,8 +7,8 @@
+ # To evaluate an alternative layout for the Replace/Find dialog, add
+ # -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
  #
- CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
+-CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
++# CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
  ARFLAGS=-ur
 -LIBS= -L/usr/X11R6/lib -lm -lXm -lXpm -lXext -lXt -lSM -lICE -lX11
 +LIBS= ${LDFLAGS} ${MOTIFLIB} -L/usr/X11R6/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
>Release-Note:
>Audit-Trail:
>Unformatted: