Commit Graph

5 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Michael Pratt ac45a74551 flex: install dev files to staging
Provide the library and headers for flex
in the staging directory
for the target build of packages
that depend on lexical functions.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-09-09 15:20:58 -07:00
Eneas U de Queiroz f60a09d0c2 flex: disable building po, tools
Amend the patch that disabled tests and docs to remove everything but
the src dir that builds the main flex program--the only file packaged.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-04-29 15:27:12 -07:00
W. Michael Petullo d681408b34 flex: use PKG_FIXUP:=autoreconf gettext-version
This change aims to fix build problems that produce the error "gettext
infrastructure mismatch".

References:
- See the commit comments at:
  baaf7f95cb

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-04-17 22:46:00 +02:00
W. Michael Petullo baaf7f95cb flex: new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-04-14 06:40:58 +02:00