From owner-freebsd-ports Wed Apr 18 4:14:16 2001 Delivered-To: freebsd-ports@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7B5B437B423; Wed, 18 Apr 2001 04:14:07 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f3IBDu766032; Wed, 18 Apr 2001 14:13:56 +0300 (EEST) (envelope-from ru) Date: Wed, 18 Apr 2001 14:13:56 +0300 From: Ruslan Ermilov To: Maxim Sobolev Cc: ports@FreeBSD.org Subject: Re: Need help unbreaking one port Message-ID: <20010418141356.A64850@sunbay.com> References: <20010418134424.A57916@sunbay.com> <3ADD72F5.494CA95B@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ADD72F5.494CA95B@FreeBSD.org>; from sobomax@FreeBSD.org on Wed, Apr 18, 2001 at 01:56:53PM +0300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Apr 18, 2001 at 01:56:53PM +0300, Maxim Sobolev wrote: > Ruslan Ermilov wrote: > > > Hi! > > > > I have imported Groff 1.17 yesterday, and I need to reflect directory > > layout changes in the textproc/gxditview port. > > > > The specifics of this port is that its distribution files live in > > /usr/src/contrib/groff, and the location is different between -STABLE > > and -CURRENT, being .../xditview for -STABLE and .../src/xditview for > > -CURRENT. > > > > The PORTVERSION should ideally also be differently for -STABLE and > > -CURRENT, 1.16.1 vs. 1.17. > > > > I searched through the Porter's Handbook, but found no info that would > > handle my case. > > > > Should I bump the __FreeBSD_version and use the updated OSVERSION? > > Also, what FreeBSD branches the Ports are supposed to be built for? > > I mean, what should I do with port when I import Groff 1.17 into > > 4.3-STABLE? Should I provide OSVERSION tests so that the port > > builds on older versions, or? > > Keep it simple: > > .if exists (/usr/src/contrib/groff/src/xditview/xditview.c) > # -CURRENT > .else > # -STABLE > .endif > I thought of that in the first place, but then, how should I set the PORTVERSION? And I really want to know the answer on my second question. What FreeBSD versions the current port is supposed to be built on? What is the requirement? Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message