nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] nmh-1.3-RC1: restoring build functionality lost since


From: Russell Ruby
Subject: Re: [Nmh-workers] nmh-1.3-RC1: restoring build functionality lost since nmh-1.0.4
Date: Fri, 09 May 2008 13:02:04 -0700

Yes.  That patch works - almost (one more similar change).  I had
made the same makefile changes (except your lex change is cleaner)
and successfully built outside the source directory using the
SunOS4.1.4 vendor version of make - a rather crusty old "make"
I largely abandoned maybe 10 years ago in favour of GNU make
because of extensive problems building random packages.

I was just finishing up a few more build tests on my old slow
sparc5 before I opened my mouth and suggested any more changes.

Sorry about mucking up portability.   I was being lazy, didn't dig,
 and simply asked to revert to something from nmh-1.0.4 which
"worked for me",  an attitude I usually frown on when observed in others.

But there is one more reference in RC2 which needs to be fixed:


--- nmh-1.3-RC2/config/Makefile.in.vanilla      2008-05-04 16:22:53.000000000 
+0000
+++ nmh-1.3-RC2/config/Makefile.in      2008-05-09 18:12:31.000000000 +0000
@@ -58,7 +58,7 @@
        ${srcdir}/version.sh $(VERSION) > version.c
 
 config.o: config.c
-       $(COMPILE2) $<
+       $(COMPILE2) $(srcdir)/config.c
 
 install:


 -- russ



On Fri, 09 May 2008 18:24:18 +0200
Oliver Kiddle <address@hidden> wrote:

>Peter Maydell wrote:
>> Something like:
>>  tar xvzf nmh-1.3RC2.tar.gz
>>  mkdir builddir
>>  cd builddir
>>  ../nmh-1.3RC2/configure
>>  make
>> 
>> ie you just run configure from whatever directory you want to build in.
>
>Thanks. Given that, I think the correct patch is the one below. I've
>made the change for lex. Hopefully that doesn't break on any other
>system. Interestingly, Solaris 10's make appears to be able to insert the
>correct source directory automatically, presumably taking it from VPATH.
>
>Oliver
>
>Index: sbr/Makefile.in
>===================================================================
>RCS file: /sources/nmh/nmh/sbr/Makefile.in,v
>retrieving revision 1.25
>diff -u -r1.25 Makefile.in
>--- sbr/Makefile.in    4 May 2008 16:09:09 -0000       1.25
>+++ sbr/Makefile.in    9 May 2008 16:17:08 -0000
>@@ -104,13 +104,13 @@
> # Note that some lexes (for example flex 2.5.4) require that there
> # be no space between -o and the output filename.
> dtimep.c: dtimep.lex
>-      $(LEX) -o$@ $<
>+      $(LEX) -n -t $(srcdir)/dtimep.lex > dtimep.c
> 
> client.o: client.c
>-      $(COMPILE2) $<
>+      $(COMPILE2) $(srcdir)/client.c
> 
> mts.o: mts.c
>-      $(COMPILE2) $<
>+      $(COMPILE2) $(srcdir)/mts.c
> 
> pidstatus.o: sigmsg.h
> 
>
>
>
>_______________________________________________
>Nmh-workers mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/nmh-workers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]