tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Application of package options from within buildlink3.mk?



> What is your chosen ssl option for ffmpeg7?

Like I said, I run with mostly defaults, i.e. I have not made a
choice about this.

> If it's not gnutls then its bl3 won't be included and the
> variable will always be empty because it is never defined.
>
>  $ bmake show-var VARNAME=PKG_BUILD_OPTIONS.gnutls
>    $ bmake PKG_OPTIONS.ffmpeg7+=gnutls show-var
>    VARNAME=PKG_BUILD_OPTIONS.gnutls
>  pkcs11

Once I removed the work directory, I now get:

d3: {29} cd /usr/pkgsrc/multimedia/ffmpeg7
d3: {30} make show-var VARNAME=PKG_BUILD_OPTIONS.gnutls
 pkcs11
d3: {31} make PKG_OPTIONS.ffmpeg7+=gnutls show-var VARNAME=PKG_BUILD_OPTIONS.gnutls
 pkcs11
d3: {32}

which wasn't the case earlier.

Ref. that work/.stage-install_makevars.mk file which appears to
act as a cache remembering wrong settings in my case.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index