2013/5/4 Vadim Zhukov <[email protected]>

> > Just add them in the VARIABLES section of bsd.port.mk(5), which already
> > has various MODPERL_* variables.
>
> Something like this?
> --
>   WBR,
>     Vadim Zhukov
>
>
> Index: bsd.port.mk.5
> ===================================================================
> RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> retrieving revision 1.373
> diff -u -p -r1.373 bsd.port.mk.5
> --- bsd.port.mk.5       25 Mar 2013 13:13:13 -0000      1.373
> +++ bsd.port.mk.5       4 May 2013 11:33:49 -0000
> @@ -1852,6 +1852,16 @@ 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
> +List of executable scripts under
> +.Ev WRKSRC
> +which should have shebangs adjusted to safe form like
> +.Dq #!/usr/bin/perl .
> +.It Ev MODPERL_BIN_ADJ
> +Shell fragment to patch the interpreter path in executable scripts.
> +If names of files to be patched are known, they better to be listed in
> +.Ev MODPERL_ADJ_FILES
> +instead.
>  .It Ev MODPERL_BUILD_TARGET
>  Normal content of
>  .Ar do-build
>

ping.

--
  WBR,
  Vadim Zhukov

Reply via email to