Subject: Re: pkg/30360: nedit won't build
To: None <tech-pkg@netbsd.org, christos@netbsd.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 06/29/2005 19:01:51
--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, May 28, 2005 at 07:41:01PM +0000, smb@cs.columbia.edu wrote:
> >Description:
> 	When I try to build nedit (from the head of the pkgsrc tree), I
> 	get this:
> 
> 	(cd util;  /usr/bin/make -f Makefile..END verify_config &&  /usr/bin/make -f Makefile..END libNUtil.a)
> 	make: cannot open Makefile..END.
> 
> 	make: stopped in /usr/pkgsrc/editors/nedit/work/nedit-5.5/util
> 	*** Error code 2

I have the same problem here, and I guess it has something to do with the changes
for make(1) done by christos or he can give us an pointer what we can do.

Maybe we need just to add an empty .END rule to that Makefile, like the attached
patch, which works for me, but I'm not sure that this is the correct way.

Bernd


--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="nedit.patch"

Index: distinfo
===================================================================
RCS file: /home/source/NetBSD-cvs/main/pkgsrc/editors/nedit/distinfo,v
retrieving revision 1.12
diff -b -u -r1.12 distinfo
--- distinfo	23 Feb 2005 17:15:12 -0000	1.12
+++ distinfo	29 Jun 2005 16:53:55 -0000
@@ -4,3 +4,4 @@
 RMD160 (nedit-5.5-src.tar.bz2) = 93fce64bdc5d8a9eff86ab76cec67d44d676d0eb
 Size (nedit-5.5-src.tar.bz2) = 1124825 bytes
 SHA1 (patch-aa) = 29cf7e55b23e437b0203e0dde09cc053d65f245c
+SHA1 (patch-ab) = 919ba2072377d3d9561e6c5e4e407116fa2cdab5
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-ab	29 Jun 2005 16:53:52 -0000
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- Makefile.orig	2004-09-30 22:51:05.000000000 +0200
++++ Makefile	2005-06-29 18:50:07.000000000 +0200
+@@ -35,6 +35,9 @@
+ 	(cd Microline/XmL;    $(MAKE) -f Makefile.$@ libXmL.a)
+ 	(cd source; $(MAKE) -f Makefile.$@ nedit nc)
+ 
++.END:
++	@true
++
+ # This should not be in the default build, as users may not have Perl
+ # installed.  This is only interesting to developers.
+ docs:

--9jxsPFA5p3P2qPhR--