brummer10 / screcord.lv2

a Lv2 capture plugin
GNU General Public License v2.0
16 stars 5 forks source link

/proc/cpuinfo doesn't exist on BSDs #10

Open yurivict opened 4 years ago

yurivict commented 4 years ago
cat: /proc/cpuinfo: No such file or directory

All info is available through the sysctl(8) call.

brummer10 commented 4 years ago

I wonder how you was able to build the GxPlugins for BSD, as they use /proc/cpuinfo as well in the makefiles?

yurivict commented 4 years ago

Only the older version builds. You need to make cat /proc/cpuinfo OS-specific.

brummer10 commented 4 years ago

Please see here: https://github.com/brummer10/GxPlugins.lv2/issues/8 and here: https://svnweb.freebsd.org/ports/head/audio/gxplugins-lv2/Makefile?view=markup&pathrev=516738#l44

you may do the same for screcord.