zsh: use autoreconf PKG_FIXUP to configure
In preparation to PCRE2 fixup, use autoreconf PKG_FIXUP as a better
configure system instead of configure script. This is needed to reduce
upcoming patch to migrate to PCRE2 library.
To correctly use autoreconf it's needed to declare empty
PKG_REMOVE_FILES.
zsh include custom macro in the default aclocal.m4
When autoreconf PKG_FIXUP is used, if PKG_REMOVE_FILES is not defined,
it's set to remove the file aclocal.m4 by default resulting in problem
with the custom macro AC_PROG_LN.
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
[ split to 2 commit, add PKG_REMOVE_FILES, reword commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit a7f837c98b
)
This commit is contained in:
parent
08ee67bc95
commit
d6a5230862
|
@ -20,9 +20,18 @@ PKG_LICENSE:=ZSH
|
|||
PKG_LICENSE_FILES:=LICENCE
|
||||
PKG_CPE_ID:=cpe:/a:zsh_project:zsh
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_INSTALL:=1
|
||||
|
||||
# zsh include custom macro in the default aclocal.m4
|
||||
# When autoreconf PKG_FIXUP is used, if PKG_REMOVE_FILES
|
||||
# is not defined, it's set to remove the file aclocak.m4
|
||||
# by default resulting in problem with the custom macro
|
||||
# AC_PROG_LN
|
||||
# To prevent this, declare empty PKG_REMOVE_FILES
|
||||
PKG_REMOVE_FILES:=
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/zsh
|
||||
|
|
Loading…
Reference in New Issue