Re: Place of LICENSE_FILE in Makefile
El 19/09/2014 21:10, Brooks Davis bro...@freebsd.org escribió: On Fri, Sep 19, 2014 at 08:35:36PM +0200, Fernando Apestegu?a wrote: Hi, I'm facing a situation with a new Makefile. I want to set LICENSE_FILE to the location of the license file of the distribution. The file is located under ${WRKSRC} that has been set to ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} If I use LICENSE_FILE _after_ setting WRKSRC, I get an error from portlint. Also, all the GH_* variables need to be set before I can use them to point LICENSE_FILE to the proper path, so... in which order should I define these variables so portlint doesn't complain? It should not matter that the variable are not yet defined. Variables are expanded at point of use not point of assignment. Ok, thanks! -- Brooks ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Place of LICENSE_FILE in Makefile
Hi, I'm facing a situation with a new Makefile. I want to set LICENSE_FILE to the location of the license file of the distribution. The file is located under ${WRKSRC} that has been set to ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} If I use LICENSE_FILE _after_ setting WRKSRC, I get an error from portlint. Also, all the GH_* variables need to be set before I can use them to point LICENSE_FILE to the proper path, so... in which order should I define these variables so portlint doesn't complain? TIA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Place of LICENSE_FILE in Makefile
On Fri, Sep 19, 2014 at 08:35:36PM +0200, Fernando Apestegu?a wrote: Hi, I'm facing a situation with a new Makefile. I want to set LICENSE_FILE to the location of the license file of the distribution. The file is located under ${WRKSRC} that has been set to ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} If I use LICENSE_FILE _after_ setting WRKSRC, I get an error from portlint. Also, all the GH_* variables need to be set before I can use them to point LICENSE_FILE to the proper path, so... in which order should I define these variables so portlint doesn't complain? It should not matter that the variable are not yet defined. Variables are expanded at point of use not point of assignment. -- Brooks pgpZTynPmCCwO.pgp Description: PGP signature