Bill Allombert on Fri, 6 Sep 2002 13:53:46 +0200


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

Re: problem configuring under FreeBSD-4.6


On Thu, Sep 05, 2002 at 04:42:43PM -0400, Igor Schein wrote:
> Hi,
> 
> there's 1 more minor issue on FreeBSD - Makefile in Oxxx directory has
> a line with a single dash character on it following the line 
> 
> gp: gp-sta ../gp
> 
> GNU make doesn't care about it, but BSD make gives the following
> error:
> 
> :No such file or directory
> *** Error code 1 (ignored)

Try this patch. This work for me with GNU make and BSD make (on Debian GNU/Linux)

Cheers,

Bill.

PS: Your Mail-Followup-To is broken : there is your name but not your address.

Index: config/Makefile.SH
===================================================================
RCS file: /home/megrez/cvsroot/pari/config/Makefile.SH,v
retrieving revision 1.46
diff -u -r1.46 Makefile.SH
--- config/Makefile.SH	2002/07/01 20:53:59	1.46
+++ config/Makefile.SH	2002/09/06 11:49:47
@@ -284,10 +284,8 @@
 OBJSDGP = $OBJSDGP
 
 dft: gp $pari_elc
-	-
 
 gp: gp-$dft ../gp$suffix$exe_suff $libdft
-	-
 
 ../gp$suffix$exe_suff: gp-$dft
 	-\$(RM) \$@
@@ -613,3 +611,5 @@
   echo "include Makefile.DLLs" >> $file
   cp $config_dir/Makefile.DLLs $objdir
 fi
+
+echo ".PHONY: gp dft"  >> $file