OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Add MODPERL_BIN_ADJ and MODPERL_ADJ_FILES to perl.port.mk

From: Stuart Henderson (sthenopenbsd.org)
Date: Mon May 06 2013 - 15:45:23 CDT


On 2013/05/07 00:35, Vadim Zhukov wrote:
> > --- bsd.port.mk.5 25 Mar 2013 13:13:13 -0000 1.373
> > +++ bsd.port.mk.5 6 May 2013 20:07:27 -0000
> > -1852,6 +1852,19 tedious.
> > .It Ev MODGNU_CONFIG_GUESS_DIRS
> > If a port uses config.guess outside WRKSRC, the directories
> > containing the other copies must be set here.
> > +.It Ev MODPERL_ADJ_FILES
> > ​​
> > +If any files have a perl shebang line which needs to be replaced
> > +with
> > +.Dq #!/usr/bin/perl ,
> > +list them in
> > +.Ev MODPERL_ADJ_FILES .
> > +These are prefixed with WRKSRC and replaced automatically
> > +at the end of
> > ​​​
> > ​​​
> > ​
> > ​​
> > +.Ar pre-configure .
> >
>
> The word "prefixed"​ is about file names, and "replaced" is about shebang
> lines in files. So mixing them in one sentence creates some sort of
> confusion, at least for me. Maybe something like that, if I'm not mistaken?
>
> ​If any files have a Perl shebang line, which needs to be replaced
> with
> .Dq #!/usr/bin/perl ,
> list them in
> .Ev MODPERL_ADJ_FILES .
> File paths here should be relative to
> .Ev WRKSRC .
> These files are patched automatically​ at the end of
> ​
> ​​​
> ​
> ​​
> .Ar pre-configure .

Yes that makes sense to me.

gmail has done some strange things with your mail btw, loads of unicode
zero-width space characters scattered through it...