Re: what is special about the 'git' Makefile ?

2009-10-27 Thread Giorgos Keramidas
On Tue, 27 Oct 2009 18:33:03 -0700 (PDT), George Sanders gosand1...@yahoo.com 
wrote:
 I've been doing this dance:

 ../configure ; make ; make install

 for about ten years now.  Sometimes there are some little issues, but nothing 
 too crazy.

 I tried to build 'git' from source today, however, and it doesn't
 behave like anything I've ever seen...

 I do the ./configure and it completes without errors:

 checking for mkstemps... yes
 checking for library containing mkstemps... none required
 checking Checking for POSIX Threads with '-pthread'... yes
 configure: creating ./config.status
 config.status: creating config.mak.autogen

 and then run 'make' ...

 Makefile, line 206: Need an operator
 Makefile, line 244: Missing dependency operator
...
 So ... what in the world is going on here ?

Try using GNU make:

./configure  gmake

The devel/git port includes `USE_GMAKE=yes', so I'm guessing the port
maintainer discovered that the makefiles of Git use gmake-specific
constructs and added it to the port makefile for a good reason.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what is special about the 'git' Makefile ?

2009-10-27 Thread Adam Vande More
On Tue, Oct 27, 2009 at 8:33 PM, George Sanders gosand1...@yahoo.comwrote:



 I've been doing this dance:

 ../configure ; make ; make install

 for about ten years now.  Sometimes there are some little issues, but
 nothing too crazy.

 I tried to build 'git' from source today, however, and it doesn't behave
 like anything I've ever seen...

 I do the ./configure and it completes without errors:


 checking for mkstemps... yes
 checking for library containing mkstemps... none required
 checking Checking for POSIX Threads with '-pthread'... yes
 configure: creating ./config.status
 config.status: creating config.mak.autogen


 and then run 'make' ...

 Makefile, line 206: Need an operator
 Makefile, line 244: Missing dependency operator
 Makefile, line 247: Need an operator
 Makefile, line 250: Need an operator
 Makefile, line 273: Need an operator
 Makefile, line 286: Need an operator
 Makefile, line 395: Need an operator

 (snip about 8 or 10 PAGES of the above)

 Makefile, line 1293: Need an operator
 Makefile, line 1294: warning: duplicate script for target ifdef ignored
 Makefile, line 1295: warning: duplicate script for target ifdef ignored
 Makefile, line 1296: Need an operator
 Makefile, line 1298: Need an operator
 Makefile, line 1301: Need an operator
 Makefile, line 1303: Missing dependency operator
 Makefile, line 1305: Need an operator
 Makefile, line 1307: Missing dependency operator
 Makefile, line 1309: Need an operator
 Error expanding embedded variable.


 So ... what in the world is going on here ?


Maybe gmake?


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what is special about the 'git' Makefile ?

2009-10-27 Thread b. f.
George Sanders wrote:
I've been doing this dance:

You haven't been out on the floor nearly often enough, it seems.
Better dust off those blue suede shoes. :)

../configure ; make ; make install

for about ten years now.  Sometimes there are some little issues, but nothing 
too crazy.

I tried to build 'git' from source today, however, and it doesn't behave like 
anything I've ever seen...

I do the ./configure and it completes without errors:

...

and then run 'make' ...

Makefile, line 206: Need an operator
Makefile, line 244: Missing dependency operator

...

So ... what in the world is going on here ?

Er, you're using FreeBSD make(1) when you should be using GNU gmake?
There is a FreeBSD Port for this software in devel/git, and even if
you don't want to use it, the Makefiles and patches usually provide a
good guide to modifications that you may need to make to get it to
work on FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org