Reorganized the Makefile a bit for consistency between packages.
Added PKG_BUILD_PARALLEL for faster compilation.
Removed USEMEMMOVE hack as that is no longer used in the codebase.
Added PKG_FIXUP as the patches touch configure.ac.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
On ar71xx the package grow by less than 1k
150377 screen_4.6.0-1_mips_24kc.ipk
151356 screen_4.6.0-2_mips_24kc.ipk
Original commit by @nobk
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
The configure script shipped by screen uses the presence of `elf.h` and `-lelf`
as indicator for an SVR4 system which implies a `#define BUGGYGETLOGIN`.
The SVR4 `getlogin()` replacement function does not compile with a musl
toolchain and we do not want it anyway, so patch configure to remove the broken
SVR4 detection logic.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>