On 2023/07/17 00:44, Chris Bennett wrote:
> On Mon, Jul 18, 2023 at 07:36:16AM +0100, Stuart Henderson wrote:
> > On 2023/07/16 21:02, Chris Bennett wrote:
> > > I did locate `Apache/Test` and failed to notice the local.
> > > I couldn't find Apache-Test in ports or installed here as a package.
> > > Which is why I didn't notice the /local/
> > 
> > pkglocate will show you that it's in www/ap2-mod_perl
> > 
> 
> Then I do not need to port in Apache-Test? Right?
> 
> 

Right. It is already in ports, so you do not need to port it.

> > > which version of OpenBSD was it that had either a working or broken
> > > copy?
> > 
> > There used to be a separate port to avoid conflicts. One way to find
> > it is to dig in the cvs repo. If you have a copy (fetched with reposync
> > from a mirror) you can do things like
> > 
> > cd /cvs/ports/*/P5-Apache-Test    (guessing a likely name)
> > rlog Attic/Makefile | vim -
> > 
> 
> I will definitely do this. I am finding the Makefile confusing to
> compose. 
> 
> Assuming I can skip Apache-Test, I have these questions.
> 
> cat /etc/mk.conf                                                              
>                                    
> PORTS_PRIVSEP=Yes
> PORT_USER=xxxx
> SUDO=sudo -E
> FETCH_PACKAGES=-Dsnap
> 
> .include "/usr/ports/infrastructure/templates/mk.conf.template"
> 
> Is PORTS_PRIVSEP Ok? 

Yes.

No idea what PORT_USER is for.

I would not recommend FETCH_PACKAGES in bsd.port.mk, if your ports tree
is out of sync with snapshot packages it will be a nuisance. I just type
it on the make command line if needed.

> apache-module.port.mk seems somewhat understandable.
> 
> p5-libapreq2/Makefile seems to possibly be helpful.
> Is the variety of MODPERL_REGEN_PPPORT in that Makefile on the right track?

Only use MODPERL_REGEN_PPPORT if the distribution has a pport.h file
in a location other than directly in WRKSRC. Many ports don't need to
use it.

> I'm not quite ready to ask good questions just yet. But the above would
> be very helpful. I tried copy/paste of some possibly useful stuff from
> several ports, but I can't get make build to get past the same error as
> soon as it looks into the test area.
> 
> As usual, copy/paste was a waste of time. :-}
> 
> I appreciate the help.
> 
> -- 
> Chris Bennett
> 

Reply via email to