From owner-freebsd-ports@FreeBSD.ORG Tue Jul 24 14:25:15 2007 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 E1B5916A417 for ; Tue, 24 Jul 2007 14:25:15 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9702D13C442 for ; Tue, 24 Jul 2007 14:25:15 +0000 (UTC) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 7B54A12543D; Tue, 24 Jul 2007 16:25:14 +0200 (CEST) Date: Tue, 24 Jul 2007 16:25:14 +0200 From: Anton Berezin To: Paul Schmehl Message-ID: <20070724142514.GA4315@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Paul Schmehl , FreeBSD Ports References: <20070724095718.GB68140@heechee.tobez.org> <1B50EA71ECD75693D12CE9D3@utd59514.utdallas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1B50EA71ECD75693D12CE9D3@utd59514.utdallas.edu> User-Agent: Mutt/1.4.2.3i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: FreeBSD Ports Subject: Re: How to include new dirs in @INC 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: Tue, 24 Jul 2007 14:25:16 -0000 On Tue, Jul 24, 2007 at 09:18:17AM -0500, Paul Schmehl wrote: > >So problem solved, or? > Problem solved. Nice! > BTW, maybe you know the answer to this. I can't remove the perl modules in > pkg-plist because it prepends PREFIX to SITE_PERL, making the location > /usr/local/usr/local/lib/perl5/site_perl/5.8.8. This seems to me to be a > bug. Shouldn't pkg-plist honor SITE_PERL and not prepend PREFIX? Hmmm. I assume you are using %%SITE_PERL%% as the prefix in the pkg-plist? bsd.port.mk defines ${SITE_PERL} as ${PREFIX}${SITE_PERL_REL}, and it defines a plist substitution %%SITE_PERL%% to be the same as ${SITE_PERL_REL}, so in most circumstances it "just works". Maybe a snippet of your pkg-plist together with *-install Makefile targets (if any) would help to see what's wrong? \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen