From owner-freebsd-ports@FreeBSD.ORG Wed Jan 8 16:46:02 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF93EA26 for ; Wed, 8 Jan 2014 16:46:02 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F6CD1AE8 for ; Wed, 8 Jan 2014 16:46:02 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 29E0821A4E; Wed, 8 Jan 2014 11:46:01 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute2.internal (MEProxy); Wed, 08 Jan 2014 11:46:01 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=gNjflWHb01qtutslkLmUuknh+iw=; b=TtT R6yKTGbJimLwkYcGJ7w9bqewaqSa8DkfO+qdlNCNtHK2w0uz0xidCJj1EfMzP72a 3CD1v0NuXlBbBBUcnuiAx+8jTyPspg9q968eliPG8G4ln8PToAr8LsFV1tkmcm6f bhktCexqsZz71q+2Jf17+vBWKmV+KS0D5SrTnRJw= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id F1B6614638E; Wed, 8 Jan 2014 11:46:00 -0500 (EST) Message-Id: <1389199560.2185.68194821.380B8BB7@webmail.messagingengine.com> X-Sasl-Enc: jBvh2G58ORo+QsUW3nGYPOPIZm+ZNxxi3zpnWz0nwDnl 1389199560 From: Mark Felder To: Big Lebowski , "freebsd-ports" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-064ceef5 In-Reply-To: References: Subject: Re: Solving PORTNAME/PORTREVISION/DISTNAME/DISTVERSION mess Date: Wed, 08 Jan 2014 10:46:00 -0600 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 16:46:02 -0000 On Wed, Jan 8, 2014, at 8:10, Big Lebowski wrote: > 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. > I don't understand what you're trying to accomplish, but please see my patch: https://feld.me/freebsd/libpqxx.diff I had to replace their "split-config" script with the one from 4.0 because they apparently rewrote it in python and it does not work in our build environment. I didn't feel like debugging this further; this was the easy fix.