From owner-freebsd-hackers@freebsd.org Tue Nov 14 03:16:36 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1CBACFCC24 for ; Tue, 14 Nov 2017 03:16:36 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 913746B4EA for ; Tue, 14 Nov 2017 03:16:36 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by mail-qk0-x230.google.com with SMTP id 78so22452550qkz.0 for ; Mon, 13 Nov 2017 19:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eSFAMj0aq4v/SvCBgllkYC2lAMk3r89PbJ+wWLWMcaY=; b=rm2bzz6nBHnqS5CZGqOS47OibGfEha6UttkTkzc1ogIJgJ/e6pXta8rFCB5ZyIoWCP ZxZCr5gWInoYoJF7gMs7cFsRfElBJshjPQ28TTKvS4lc4In4lWe+t3QKk49t8N6gMUb3 lEHrbhC0r6UM5qcx+ZU/WaNURheVCXOHURGCzu+bovk7VVaEEQoP7oi1+V3cEJIiOp2f /jcxTSxlD3Bc2JSmCCs0Bx9F/+cuWZdV7vPDaaNK3VZ5wlwnFI+PqfuHE1qYwd4VBSCU DKDjSQ53DA5t/voSY9HdxI/HF7QgrvQ4gtdt9NAEZ5+WIhAMSbA1jV95oCobx3x+8kqy ZRaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eSFAMj0aq4v/SvCBgllkYC2lAMk3r89PbJ+wWLWMcaY=; b=Wuq+2wE9Ys2xyCuudORjDo2h0gjdRLCEDfO15uEFncrYmPltWo5teBPTn5QkF1r4LR Q7iodEB7X7TWeF98AAMdXbW3GVEYX5HIZPQYv/Fg2fB/pGTBGuAIzCE+gCyg9Ahg6koD aHFca9iEIxbQtNEFjIH2Oi+/1vNkrlM7KzkgtYtSxNDAVhQq2GkCXk/sNkW1g9DLGdqX 46FJQuquZxJPFogrdsEoPtQXQ+SPvm0NukQd0h/WP0Pi/mRtJgsKRgYZA7mdwtB8+pU+ Mm+gEZYI17bwBhX8AXrUw/zUWEQomUZhhyapZxtZC/9mzX8kqAJeS7S2kRNG0zwaL6v1 FbJg== X-Gm-Message-State: AJaThX6//GaLv/AA3nWAogN5iWVH1TK71yni47h4OJfTOFJ1wuJtvPsg BE6T8wQGg6uFXAQMhaXdDHQBoEZsKKYVg2VfiRPhOA== X-Google-Smtp-Source: AGs4zMaGJbCHdbb6aQ+WFajClga1wfZkuSdQ3+r7J9h0j7k6Jaesf0zdzI4yr9d7tEtYboABG5ihXFSHK6pU2pHgFlc= X-Received: by 10.55.75.202 with SMTP id y193mr17084779qka.329.1510629395340; Mon, 13 Nov 2017 19:16:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.50.38 with HTTP; Mon, 13 Nov 2017 19:16:34 -0800 (PST) In-Reply-To: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> From: Zhihao Yuan Date: Mon, 13 Nov 2017 21:16:34 -0600 Message-ID: Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions To: by Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 03:16:36 -0000 On Mon, Nov 13, 2017 at 7:52 PM, by wrote: > I am trying to use nvi on my Mac, and after I =E2=80=98brew install nvi= =E2=80=99, I found > the version is 1.81.6, not the latest. > > I know the version of nvi in freebsd head is 2.1.3 now, so I checkout > that, and trying to build it myself. > But I found there is no build/ directory under nvi/, and I know there is = a > build/ directory with nvi-1.79, and the link is: > https://sites.google.com/a/bostic.com/keithbostic/vi/ > You suddenly mentioned 3 forks of nvi -- nvi-1.79, nvi-1.8x, and nvi2-2.x.y :/ Long story short, How can I build the nvi package? It is under base/head/contrib/nvi > directory. Maybe any Makefile or build instructions under upper directory= ? > among those, only nvi2 is using CMake as its build system, so if you just want to build it by yourself, https://github.com/lichray/nvi2/wiki/Porting is a good starting point. FreeBSD base commits generated headers to usr.bin/vi which may not fit your needs (on Mac). --=20 Zhihao Yuan, ID lichray The best way to predict the future is to invent it. _______________________________________________