From owner-freebsd-ports@freebsd.org Mon Dec 25 05:18:59 2017 Return-Path: Delivered-To: freebsd-ports@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 79BDAE9EE0B for ; Mon, 25 Dec 2017 05:18:59 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6924876FBF for ; Mon, 25 Dec 2017 05:18:58 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id e08a2691 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 24 Dec 2017 22:18:51 -0700 (MST) Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: "Confused" PORTREVISION From: Adam Weinberger In-Reply-To: <2abbc227-f2da-69e0-1d0d-1b872bbc475f@utanet.at> Date: Sun, 24 Dec 2017 22:18:50 -0700 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <59143D35-B810-4670-8F78-C8D7F0CF91B6@adamw.org> References: <42ac3597-f82a-ef8d-0d8d-f6a7c5a84d46@utanet.at> <2abbc227-f2da-69e0-1d0d-1b872bbc475f@utanet.at> To: Walter Schwarzenfeld X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Dec 2017 05:18:59 -0000 > On 24 Dec, 2017, at 20:03, Walter Schwarzenfeld > wrote: > > But > > RUBY_RELVERSION= 2.3.6 > RUBY_PORTREVISION= 0 <= > RUBY_PORTEPOCH= 1 > RUBY_PATCHLEVEL= 0 > RUBY23= "" # PLIST_SUB helpers > > PORTREVISION=0 confuses pkg version > > pkg version |grep ruby23 > ruby23-2.3.6,1 < > > this is the version which is installed. PORTREVISION=0 is treated as if it were unset. Some people prefer using that construct because it keeps line numbers consistent in the SVN history. # Adam -- Adam Weinberger adamw@adamw.org http://www.adamw.org