Re: Get ${OSREL} at install time
- Reply: Felix Palmen : "Re: Get ${OSREL} at install time"
- Reply: Jose Quinteiro : "Re: Get ${OSREL} at install time"
- In reply to: Felix Palmen : "Re: Get ${OSREL} at install time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 10:03:13 UTC
18.04.2023 16:51, Felix Palmen wrote: > With lua scripts, you can't even use freebsd-version because execution > is very restricted for them in pkg. And for some features (like e.g. > dynamically creating a pkg-message output), you need lua... You don't need lua to create pkg-message dynamically or do many other things. It was possible long before invention of lua itself :-) First, you may use pkg-message.in https://docs.freebsd.org/en/books/porters-handbook/book/#using-sub-files Second, you may modify ${WRKDIR}/pkg-message using post-build target of port's Makefile, instead of pkg-message.in or in addition.