Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 17:31:18 +0100
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Big Lebowski <spankthespam@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Solving PORTNAME/PORTREVISION/DISTNAME/DISTVERSION mess
Message-ID:  <CAHcdu2p2FAD-9e=W8JRh-2-djemU=ieTbgUB9esLRAS6Pysomw@mail.gmail.com>
In-Reply-To: <CAHcXP%2BdYnwV9fweA4jc%2BpYiZpGKcrjABc=SmFFfzpyrT0SXBGQ@mail.gmail.com>
References:  <CAHcXP%2BdYnwV9fweA4jc%2BpYiZpGKcrjABc=SmFFfzpyrT0SXBGQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2014/1/8 Big Lebowski <spankthespam@gmail.com>:
> Hi,
>
> I am working on updating databases/postgresql-libpqxx to use sources with
> version 4.0.1. The current PORTVERSION is 4.0, and the 4.0.1 sources are
> not bumping the lib version, are not changing the lib api version, but
> instead, have compile bug fixes. That suggest using PORTREVISION at 1, to
> make the PORTVERSION 4.0_1, but then I cant download proper sources with
> 4.0.1 suffix. I've tried different combinations of
> DISTNAME/DISTVERSION/PORTVERSION/PORTREVISION but cant get it working and
> at the same time being processed with portlint not yelling at me for using
> above in cominations, so what would be proper solution to that problem?
>
> The closes to working solution I got was while using these:
>
> PORTNAME=       libpqxx
> PORTVERSION=    4.0
> PORTREVISION=   1
> CATEGORIES=     databases
> MASTER_SITES=   http://pqxx.org/download/software/libpqxx/
> PKGNAMEPREFIX=  postgresql-
> DISTNAME=       ${PORTNAME}-${PORTVERSION}.${PORTREVISION}
> DIST_SUBDIR=    postgresql
>
> but then the portlint screams with:
>
> WARN: Makefile: only one MASTER_SITE configured.  Consider adding
> additional mirrors.
> FATAL: Makefile: DISTNAME contains a reference to PORTREVISION.  You should
> only be using PORTVERSION
> WARN: Makefile: Consider defining LICENSE.
> 1 fatal error and 2 warnings found.

Why use PORTREVISION if it's new version ?


> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



-- 
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcdu2p2FAD-9e=W8JRh-2-djemU=ieTbgUB9esLRAS6Pysomw>