From owner-freebsd-ports@FreeBSD.ORG Thu Oct 7 12:52:35 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04E82106566C; Thu, 7 Oct 2010 12:52:35 +0000 (UTC) (envelope-from alp@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.249]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0AE8FC19; Thu, 7 Oct 2010 12:52:34 +0000 (UTC) Received: from pyhalov.cc.rsu.ru (pyhalov.cc.rsu.ru [195.208.252.128]) (authenticated bits=0) by mail.r61.net (8.14.4/8.14.1) with ESMTP id o97CqVZL015701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 7 Oct 2010 16:52:31 +0400 (MSD) (envelope-from alp@rsu.ru) Message-ID: <4CADC28F.7000109@rsu.ru> Date: Thu, 07 Oct 2010 16:52:31 +0400 From: Alexander Pyhalov User-Agent: Thunderbird 2.0.0.23 (X11/20091202) MIME-Version: 1.0 To: girgen@FreeBSD.org, freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: new version of postgresql port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 12:52:35 -0000 Hello. I've seen interesting commit message in postgresql90-server port: "Also, try to break the previous 1:1 relation between FreeBSD system and PostgreSQL versions installed. Use different PREFIX:es to install different versions on the same system." I've fetched new version of ports and tried to install postgresql84 from ports with default prefix and later - postgresql90 with non-default prefix. I managed to install postgresql90-client and postgresql84-{server,client}. However, while building postgresql90-server I received pgtest# make PREFIX=/usr/local/postgresql/9.0 install ===> postgresql-server-9.0.1 cannot install: the port wants postgresql90-client but you have postgresql84-client installed. *** Error code 1 Stop in /usr/ports/databases/postgresql90-server. The problem comes from 186 line of /usr/ports/Mk/bsd.database.mk. It must be modified to allow such things. Also, it seems that PREFIX modification is not sufficient: we should have some specific postgresql files in /usr/local/etc/periodic and several startup scripts in /usr/local/etc/rc.d. -- Best regards, Alexander Pyhalov, system administrator of Computer Center of South Federal University