From owner-freebsd-ports Wed Apr 18 3:57:38 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id B25F437B422; Wed, 18 Apr 2001 03:57:33 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (dialup16-13.iptelecom.net.ua [212.9.229.205]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id NAA38654; Wed, 18 Apr 2001 13:57:27 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.3/8.11.2) with ESMTP id f3IAuu775412; Wed, 18 Apr 2001 13:56:56 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3ADD72F5.494CA95B@FreeBSD.org> Date: Wed, 18 Apr 2001 13:56:53 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Ruslan Ermilov Cc: ports@FreeBSD.org Subject: Re: Need help unbreaking one port References: <20010418134424.A57916@sunbay.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message