Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 13:56:53 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Need help unbreaking one port
Message-ID:  <3ADD72F5.494CA95B@FreeBSD.org>
References:  <20010418134424.A57916@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ADD72F5.494CA95B>