Re: git: 8faa16b6db4b - main - lang/fpc-source: update mirrors, apply patches and another minor changes
Date: Fri, 05 Jan 2024 09:23:19 UTC
On Fri, Jan 05, 2024 at 08:41:41AM +0000, Alexey Dokuchaev wrote:
> On Fri, Jan 05, 2024 at 12:17:28AM +0000, Jose Alonso Cardenas Marquez wrote:
> > commit 8faa16b6db4b95b746ad1c779bd000dd4424c840
> >
> > lang/fpc-source: update mirrors, apply patches and another minor changes
> > ...
> > +
> > +.include <bsd.port.pre.mk>
> > +
> > +.if ${ARCH} == "i386"
> > +FPC_ARCH= i386
> > +.elif ${ARCH} == "amd64"
> > +FPC_ARCH= x86_64
> > +.endif
>
> Now you're including <bsd.port.pre.mk>, but at the end it still says
> .include <bsd.port.mk> which causes the following error:
>
> /!\ fpc-source-3.2.2_4: Makefile errors /!\
>
> you cannot include bsd.port[.pre].mk twice
And then it does not stage. Here's what I had to duct tape locally to
get it packaged:
https://people.freebsd.org/~danfe/fpc-source-staging-fix.diff
./danfe