Subject: Re: How to add a new pkg ?
To: kilim <kilim@phenix.rootshell.be>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 01/31/2006 23:13:39
On Tue, 31 Jan 2006 23:10:05 +0100
kilim <kilim@phenix.rootshell.be> wrote:
> Hello,
[...]
> -One package in question has its own 'configure.pl' and its first line
> is set, surprisingly, to
>
> '#!/some/path/to/perl -w'
>
> Now I can change that to
>
> '#!/usr/pkg/bin/perl -w'
>
> and make a diff, but what happens in the case where somebody's prefix
> is not '/usr/pkg' but something else ? Is there a way to deal with
> this ? Essentially making a portable diff, so that it would be
> ${PREFIX}/bin/perl ? Is there a mechanism for this ?
REPLACE_PERL+= foo.pl # the PATH is relative to WRKSRC
> -Should I submit a pkg via sendpr ? Is that the recommended way ?
Yes, or you can import it into pkgsrc-wip (pkgsrc-wip.sf.net).