diff --git a/packages/sysutils/lirc/package.mk b/packages/sysutils/lirc/package.mk index e73cde567e..a6c36eac10 100644 --- a/packages/sysutils/lirc/package.mk +++ b/packages/sysutils/lirc/package.mk @@ -16,7 +16,14 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-devinput \ --enable-uinput \ --with-gnu-ld \ --without-x \ - --runstatedir=/run" + --runstatedir=/run \ + --with-lockdir=/var/lock" + +post_unpack() { + # remove confusing static config.h in lirc 0.10.2 release package (temp fix) + # lead to "LIRC_LOCKDIR" redefined to "/var/lock/lockdir" + rm ${PKG_BUILD}/lib/lirc/config.h +} pre_configure_target() { export HAVE_WORKING_POLL=yes