From owner-freebsd-ports Fri Jan 31 5:48:24 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9574137B401 for ; Fri, 31 Jan 2003 05:48:23 -0800 (PST) Received: from infinitive.futureperfectcorporation.com (infinitive.futureperfectcorporation.com [196.25.137.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8EE843F79 for ; Fri, 31 Jan 2003 05:48:17 -0800 (PST) (envelope-from nbm@gerund.futureperfectcorporation.com) Received: (qmail 74929 invoked by uid 0); 31 Jan 2003 13:48:01 -0000 Received: from gerund.futureperfectcorporation.com (196.25.137.65) by infinitive.futureperfectcorporation.com with DES-CBC3-SHA encrypted SMTP; 31 Jan 2003 13:48:01 -0000 Received: (qmail 84246 invoked by uid 1001); 31 Jan 2003 13:52:22 -0000 Date: Fri, 31 Jan 2003 15:52:22 +0200 From: Neil Blakey-Milner To: Andre Cc: ports@freebsd.org Subject: Re: PYTHON_SITELIBDIR not using PREFIX Message-ID: <20030131135222.GA84095@mithrandr.moria.org> References: <200301311100.58285@NiceOne> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301311100.58285@NiceOne> User-Agent: Mutt/1.3.27i Organization: iTouch Technology and Architectural Services X-Operating-System: FreeBSD 4.3-RELEASE i386 X-URL: http://mithrandr.moria.org/nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri 2003-01-31 (11:00), Andre wrote: > > I've a port that uses PYTHON_SITELIBDIR, problem is, that PYTHON_SITELIBDIR > doesn't seem to use PREFIX, it always starts with /usr/local. > To test this, I did a "make install PREFIX=/usr/t". All the files of the > port went to /usr/t, except for those prefixed with PYTHON_SITELIBDIR. > The port has "USE_PYTHON=yes". > > Suggestions? How are you using PYTHON_SITELIBDIR? If you're using it in pre/post/do-install as a place to install stuff, you should be using PYTHONPREFIX_SITELIBDIR. PYTHON_SITELIBDIR is useful to check for modules installed into LOCALBASE/PYTHONBASE. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message