On 2018/07/17 16:41, Leonid Bobrov wrote:
>       From [email protected] Tue Jul 17 10:28:21 2018
> 
>       On 2018/07/17 05:47, Leonid Bobrov wrote:
>       > > Keep this with GH_TAGNAME=v0.8.2 and no PKGNAME and no V.
>       > 
>       > If I don't set PKGNAME, then I get this:
>       > $ env FLAVOR="no_x11" make show=FULLPKGNAME
>       > toxic-0.8.2-no_x11p1
>       > So I fixed that by taking a look at editors/vim
> 
>       Congratulations, you found a bug in GH_* handling :-)
> 
>       vim uses multi-packages so it's a different situation.
> 
>       This helps for net/toxic, but I need to do more testing.
> 
> Good, I see that's committed to ports@, here's a fresh diff without two
> new patch files (but still that would look nice):

Thanks, committed with small tweaks:

- mention no_x11 in DESCR

- move the .if here to surround the "post-install:" line as well

> +
> +post-install:
> +.if ${FLAVOR:Mno_x11}
> +     rm -Rf ${PREFIX}/share/applications/
> +.endif

Reply via email to