{"thread":{"id":"1989","subject":"git on OpenBSD","startedAt":"2005-10-01T06:23:26Z","lastAt":"2005-10-01T09:57:52Z","messageCount":3,"participants":["Han Boetes","Junio C Hamano","Martin Langhoff"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"9579","messageId":"20051001062348.GA7903@boetes.org","threadId":"1989","inReplyTo":null,"subject":"git on OpenBSD","fromName":"Han Boetes","fromEmail":"han@mijncomputer.nl","sentAt":"2005-10-01T06:23:26Z","receivedAt":"2005-10-01T06:23:26Z","isPatch":false,"sender":{"key":"han@mijncomputer.nl","avatar":null},"body":"Hi,\n\nI just managed to get git compile on OpenBSD,\n\nI modified the Makefile a bit to make it work. I suppose these\nmodifications will make it work on Free- and NetBSD as well, but\nI haven't tested it so I'm not sure.\n\niconv is installed in /usr/local that's why I had to add it to the\nsearchpath.\n\n\ndiff --git a/Makefile b/Makefile\n--- a/Makefile\n+++ b/Makefile\n@@ -162,6 +162,10 @@ ifeq ($(shell uname -s),Darwin)\n \tNEEDS_SSL_WITH_CRYPTO = YesPlease\n \tNEEDS_LIBICONV = YesPlease\n endif\n+ifeq ($(shell uname -s),OpenBSD)\n+\tNEEDS_LIBICONV = YesPlease\n+\tPLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib\n+endif\n ifeq ($(shell uname -s),SunOS)\n \tNEEDS_SOCKET = YesPlease\n \tNEEDS_NSL = YesPlease\n\n\n\n\n# Han\n-- \nLbh unir whfg ivbyngrq gur Qvtvgny Zvyyraavhz Pbclevtug Npg  ol  oernxvat  gur\ncebgrpgvba bs pbclevtugrq zngrevny. Vs lbh ner abg n pvgvmra  be  erfvqrag  bs\ngur HFN, lbh evfx orvat vzcevfbarq naq uryq jvgubhg onvy sbe hc gb  gjb  jrrxf\nhcba ragel gb gur HFN (c) Copyright 2001 by Hartmann Schaffer (signature only)\n"},{"id":"9581","messageId":"7v7jcxaesy.fsf@assigned-by-dhcp.cox.net","threadId":"1989","inReplyTo":"20051001062348.GA7903@boetes.org","subject":"Re: git on OpenBSD","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-10-01T07:15:25Z","receivedAt":"2005-10-01T07:15:25Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Han Boetes <han@mijncomputer.nl> writes:\n\n> iconv is installed in /usr/local that's why I had to add it to the\n> searchpath.\n\nIs it the standard practice to have iconv in /usr/local on\nOpenBSD, or is it just your particular setup?  If the former\nthat's fine, but if the latter, I am afraid that this change\ndoes not belong to the PLATFOR_DEFINES of the Makefile.\n\nI had to work this exact issue around on a borrowed Solaris box\ntoday (eh, yesterday), and near the proposed update branch head\nthere is a commit to let you specify where to find iconv stuff\nfrom the command line of the make (or gmake).  The box had some\nhome compiled stuff in unusual places, so the site specific\nthings are made configurable via make command line, without\nhardcoding particular value in the Makefile.\n\nIn either case, thanks for the patch, and please let me know\nabout the /usr/local vs iconv issue.  If the answer is \"yes\niconv is in /usr/local everywhere on a vanilla OpenBSD box\",\nthen I'll queue this patch on top of my today's Solaris\nportability patch.\n"},{"id":"9588","messageId":"46a038f90510010257s53c1e3eas64b3fb9e57b594a1@mail.gmail.com","threadId":"1989","inReplyTo":"20051001062348.GA7903@boetes.org","subject":"Re: git on OpenBSD","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-10-01T09:57:52Z","receivedAt":"2005-10-01T09:57:52Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Hi,\n\nThere is an old version in the ports, but too old to be useful. A guy\nat work got it going on NetBSD without a problem. I think the only\nthing we changed was the shebang line in gitk because /bin/wish is\njust a stupid script that complains and tells you to call\nwish<version>.\n\ncheers,\n\n\nmartin\n"}]}