git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[RFH] NetBSD 6?

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 2, 2013, 23:11 UTC
Message-ID
<7vd2xn18p5.fsf@alter.siamese.dyndns.org>

I would appreciate if somebody with more familiarlity with the platform can suggest a better alternative than applying the following patch to our Makefile. Right now I have an equivalent of this change in config.mak locally when building on the said platform.

The "2.7" bit certainly looks fishy, as users should be able to choose between "2.6" and "2.7" (and possibly "3.0"), IIUC.

 Makefile | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index b0df41b..2ca6047 100644
--- a/Makefile
+++ b/Makefile
@@ -1163,8 +1163,11 @@ ifeq ($(uname_S),NetBSD)
 	ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
 		NEEDS_LIBICONV = YesPlease
 	endif
+	PYTHON_PATH = /usr/pkg/bin/python2.7
+	PERL_PATH = /usr/pkg/bin/perl
 	BASIC_CFLAGS += -I/usr/pkg/include
 	BASIC_LDFLAGS += -L/usr/pkg/lib $(CC_LD_DYNPATH)/usr/pkg/lib
+	OLD_ICONV = YesPlease
 	USE_ST_TIMESPEC = YesPlease
 	NO_MKSTEMPS = YesPlease
 	HAVE_PATHS_H = YesPlease
Next: Greg Troxel
Message 1 of 11 in “[RFH] NetBSD 6?”
  1. Junio C HamanoJan 2, 2013
  2. Greg TroxelJan 3, 2013
  3. Greg TroxelJan 3, 2013
  4. Junio C HamanoJan 3, 2013
  5. Greg TroxelJan 3, 2013
  6. Junio C HamanoJan 3, 2013
  7. Greg TroxelJan 3, 2013
  8. Stefano LattariniJan 3, 2013
  9. Greg TroxelJan 8, 2013
  10. Junio C HamanoJan 8, 2013
  11. Greg TroxelJan 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.