git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Makefile: turn on USE_ST_TIMESPEC for FreeBSD
@ 2009-03-22  8:08 Jeff King
  2009-03-22 14:15 ` Kjetil Barvik
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff King @ 2009-03-22  8:08 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Kjetil Barvik, git

Fixes broken compilation on FreeBSD 6.1.

Signed-off-by: Jeff King <peff@peff.net>
---
No idea if older versions support this, or if they just need NO_NSEC
instead.

 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index aae3b09..320c897 100644
--- a/Makefile
+++ b/Makefile
@@ -713,6 +713,7 @@ ifeq ($(uname_S),FreeBSD)
 	BASIC_CFLAGS += -I/usr/local/include
 	BASIC_LDFLAGS += -L/usr/local/lib
 	DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
+	USE_ST_TIMESPEC = YesPlease
 	THREADED_DELTA_SEARCH = YesPlease
 	ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
 		PTHREAD_LIBS = -pthread
-- 
1.6.2.1.276.gd47fa

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-22 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-22  8:08 [PATCH] Makefile: turn on USE_ST_TIMESPEC for FreeBSD Jeff King
2009-03-22 14:15 ` Kjetil Barvik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).