Skip to content

Commit

Permalink
zsh: use libpcre2 instead of libpcre
Browse files Browse the repository at this point in the history
Changes:
 - use libpcre2 instead of libpcre
 - patch Src/Modules/pcre.c: source from mainstream's git (23.9.2023)
 - patch configure.ac and config.h.in: replace libpcre with libpcre2 and remove missing AC_PROG_LN
 - patch Src/Makefile.in: use LN_S instead of LN
 - patch Test/V07pcre.ztst: add some libpcre2 specific tests
 - use autoconf: git version no longer supports traditional configure script, so it was easier to patch configure.ac

Signed-off-by: Oskari Rauta <[email protected]>
  • Loading branch information
oskarirauta committed Sep 24, 2023
1 parent 5b3e517 commit 6815da1
Show file tree
Hide file tree
Showing 3 changed files with 643 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/zsh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=zsh
PKG_VERSION:=5.9
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SF/zsh
Expand All @@ -20,6 +20,7 @@ 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
PKG_BUILD_FLAGS:=gc-sections lto
Expand All @@ -31,7 +32,7 @@ define Package/zsh
CATEGORY:=Utilities
SUBMENU:=Shells
TITLE:=The Z shell
DEPENDS:=+libcap +libncurses +libncursesw +libpcre +librt
DEPENDS:=+libcap +libncurses +libncursesw +libpcre2 +librt
URL:=https://www.zsh.org/
endef

Expand Down
Loading

0 comments on commit 6815da1

Please sign in to comment.