Re: My first port

2020-06-22 Thread Adam Weinberger
On Mon, Jun 22, 2020 at 4:42 AM Nikolaj Thygesen
 wrote:
>
> On Mon, 22 Jun 2020 06:04:22 +0600
> Muhammad Moinur Rahman  wrote:
>
> > Hi,
> >
> > Try to find out the reference location "share/pkgconfig” in the CMake
> > file. Then you can use REIINPLACE_CMD to change that line or modify
> > accordingly.
> >
> > The purpose of @sample is not this. @sample is primarily used for
> > configuration files.
> >
> > Regards,
> > Moin
> >
>
> Hi,
>
> Thanks for the replies; I did a REINPLACE and it works - just for the 
> record, I first tried pathfix, but that seems not to work for cmake!?

Hrmmn, it should if you also have USES=cmake. That said, if the file
you're patching isn't CMakeLists.txt, you'd need to set
PATHFIX_CMAKELISTSTXT=YourFileNameHere.txt.

I'm glad you got it working though!

# Adam


-- 
Adam Weinberger
ad...@adamw.org
https://www.adamw.org
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: WITH_META_MODE and poudriere: *.meta files, where?

2020-06-22 Thread Torfinn Ingolfsen
On Mon, Jun 22, 2020 at 8:56 PM Michael Grimm  wrote:
>
> Hi,
>
> I do have activated 'WITH_META_MODE=yes' in  to>/poudriere.d/src-env.conf [1].
>
> Now, I would like to double-check if poudriere is following my "advice". For 
> buildworld I do find *.meta files in /usr/obj/…, but I do not have any clue 
> where poudriere would keep this information for subsequent compilations?
>

The is some information here
https://xmj.github.io/articles/sysadmin/builds_ccache_memcached.html
and link to a presentation with more about (among otter things)  metamode.

HTH
-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


WITH_META_MODE and poudriere: *.meta files, where?

2020-06-22 Thread Michael Grimm
Hi,

I do have activated 'WITH_META_MODE=yes' in /poudriere.d/src-env.conf 
[1].

Now, I would like to double-check if poudriere is following my "advice". For 
buildworld I do find *.meta files in /usr/obj/…, but I do not have any clue 
where poudriere would keep this information for subsequent compilations?

Any help in understanding this is highly appreciated.

Thanks,
Michael

[1] according 
https://github.com/freebsd/poudriere/commit/1191f9f1356beaa481df9d5db3e8567449840d07
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: My first port

2020-06-22 Thread Nikolaj Thygesen
On Mon, 22 Jun 2020 06:04:22 +0600
Muhammad Moinur Rahman  wrote:

> Hi,
> 
> Try to find out the reference location "share/pkgconfig” in the CMake
> file. Then you can use REIINPLACE_CMD to change that line or modify
> accordingly.
> 
> The purpose of @sample is not this. @sample is primarily used for
> configuration files.
> 
> Regards,
> Moin
> 

Hi,

Thanks for the replies; I did a REINPLACE and it works - just for the 
record, I first tried pathfix, but that seems not to work for cmake!?

br - N :o)
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: My first port

2020-06-22 Thread Max Brazhnikov
On Mon, 22 Jun 2020 at 03:04, Muhammad Moinur Rahman  wrote:
>
> Hi,
>
> Try to find out the reference location "share/pkgconfig” in the CMake file. 
> Then you can use REIINPLACE_CMD to change that line or modify accordingly.

'USES= pathfix' will do this job:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/uses-pathfix.html

Max
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"