From owner-freebsd-ports@FreeBSD.ORG Fri Oct 12 12:48:51 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AA871D1 for ; Fri, 12 Oct 2012 12:48:51 +0000 (UTC) (envelope-from brett.mahar@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.43]) by mx1.freebsd.org (Postfix) with SMTP id E3DC68FC0A for ; Fri, 12 Oct 2012 12:48:50 +0000 (UTC) Received: (qmail invoked by alias); 12 Oct 2012 12:48:43 -0000 Received: from CPE-121-220-63-106.lnse2.win.bigpond.net.au (EHLO dd.moose.cat) [121.220.63.106] by mail.gmx.com (mp-eu006) with SMTP; 12 Oct 2012 14:48:43 +0200 X-Authenticated: #117972605 X-Provags-ID: V01U2FsdGVkX19hyT9cxjlh2WXO7J1W8AKAJRDHG5kvUcw+MRvgiA m5CekPonl6RIie Date: Fri, 12 Oct 2012 23:48:38 +1100 From: Brett To: freebsd-ports@freebsd.org Subject: Local portsdir_path Message-Id: <20121012234838.95e26b0ec95529e17199512f@gmx.com> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 12:48:51 -0000 Hi porters, I'm just wondering if it is possible to have my own ports directory that is outside the regular ports tree (e.g. if I want a older/newer version of a port), and when I make something, this directory tree is checked for content to override what is in the "official" ports tree? On OpenBSD, I can set PORTSDIR_PATH=/usr/local/ports:/usr/ports in /etc/mk.conf, and whenever I build something, any dependencies will be built from the instructions in /usr/local/ports/ (if they exist), rather than /usr/ports. Is it possible to set up something like this in a FreeBSD system? I could not see any info in the ports man page or from doing a web search on the porters handbook. But this method is not really documented in OpenBSD either... Thanks, Brett.