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
Sergey V. Lobanov 34018f1fe0 mandoc: fix build on macos
./configure scripts compiles&runs test so it detects darwin
C-functions and defines that can not be used for Linux target.

This patches expicitly specifies Linux-specific parameters that
can not be detected correctly on Darwin.

This patch removes 010-mandoc-1.14.5-fix-gnu-make.patch. mandoc
provides its own way to redefine specific parameters (using
configure.local file). Defines from this patch are moved to
generated configure.local file.

CONFIGURE_VARS are removed by this patch due to ./configure script
does not use ENV vars specified by CONFIGURE_VARS

This commit does not change compilation on Linux hosts (the resulted
binary is exactly the same as before applying this commit). Binary
compiled on MacOS host is exactly the same as compiled on Linux.

Files generated by ./configure (config.h and Makefile.local) are
exactly the same on Linux and MacOS build hosts

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-14 17:21:21 -08:00
W. Michael Petullo c68c5f8cc0 mandoc: update to 1.14.6
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 19:02:57 +01:00
Rosen Penev c4feffb0a1 mandoc: fix compilation with GCC10
This is probably fixed in CVS. Unfortunately, I have no idea how to
import such a patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-21 10:30:20 -07:00
W. Michael Petullo 96cd78dd1f mandoc: new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-03-12 17:20:06 -06:00