- Group Reviewers
- rP560401: devel/libepoll-shim: update to 0.0.20201229
- Builds fine on 11.4/12.1/12.2/13.0 amd64/i386, 12.2 aarch64, 13.0 aarc64/armv6/armv7
- Runtime tested on Sway with Firefox + VAAPI and FreeRDP
Which style do you prefer?
.if exists(/usr/include/sys/eventfd.h) PLIST_SUB+= SHIM_EVENTFD="@comment " .else PLIST_SUB+= SHIM_EVENTFD= .endif
.if !exists(/usr/include/sys/eventfd.h) PLIST_FILES+= include/libepoll-shim/sys/eventfd.h .endif
Note, it's possible to uglify further by introducing OSVERSION checks.