Rearrange Makefile for consistency between packages. Add m4 patch to fix compilation under some systems. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This is part of an attempt to get rootless podman to work on OpenWrt. See https://github.com/openwrt/packages/issues/15096. Signed-off-by: W. Michael Petullo <mike@flyn.org>