ppp: compile fix: unset FILTER variable in Makefile
authorEike Ritter <git@rittere.co.uk>
Sun, 14 Mar 2021 18:50:21 +0000 (18:50 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 29 Mar 2021 20:26:27 +0000 (22:26 +0200)
commitb89accdfbc771e9936abf33dd5cfcd6882841564
treeb982207eb7bb5c63feff94e6cf783050f65bc0c4
parent290b28664d2522654dd304c40122beeb85f565a6
ppp: compile fix: unset FILTER variable in Makefile

If the environment variable FILTER is set before compilation,
compilation of the ppp-package will fail with the error message

Package ppp is missing dependencies for the following libraries:
libpcap.so.1

The reason is that the OpenWrt-patch for the Makefile only comments
out the line FILTER=y. Hence the pcap-library will be dynamically
linked if the environment variable FILTER is set elsewhere, which
causes compilation to fail. The fix consists on explicitly unsetting
the variable FILTER instead.

Signed-off-by: Eike Ritter <git@rittere.co.uk>
(cherry picked from commit 46cd0765d0c585dc0b48c8c0a3f116ef83cd580f)
package/network/services/ppp/patches/610-pppd_compile_fix.patch [new file with mode: 0644]