Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/schilybase: 2022 schilytools touchup
Following Jörg Schilling's death in 2021, this is a light touch up of the port in preparation of future updates at the project's new home. - Jörg's domains have started to run out. Change the WWW to our new project lest they point to some unrelated site. - Instead of building profiled libraries and then throwing them out, have -PROFILE not build these in the first place. - Enable symbol versioning for hardening against mismatched library versions. While tested well on Linux, this option was never enabled on FreeBSD due to Jörg's lack of experience with the system. Given that the toolchain is pretty much the same, little to now issues are to be expected. - Relax schilybase dependency to just LIB_DEPENDS to simplify partial upgrades. This is reasonably safe now that symbol versioning has been enabled. WWW: https://codeberg.org/schilytools/schilytools ChangeLog: https://codeberg.org/schilytools/schilytools PR: 265040 Reported by: fuz@fuz.su (maintainer)
- Loading branch information
1 parent
5bf2947
commit 8ce2900
Showing
13 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- RULES/i386-freebsd-clang.rul.orig 2022-07-05 01:45:06 UTC | ||
+++ RULES/i386-freebsd-clang.rul | ||
@@ -38,4 +38,21 @@ LIB_KVM= | ||
|
||
#LDOPTS= $(LIBS_PATH) $(LDPATH) | ||
|
||
+# | ||
+# Sunpro C/C++ run on Solaris and Linux and both have linkers | ||
+# that support mapfiles | ||
+# | ||
+MAPVERS= $(_MAPVERS) # This enables to use mapfiles | ||
+# | ||
+# The GNU linker is buggy and does not like the official order in linker map | ||
+# files for symbol versioning. The following command reverses the order of | ||
+# the version names in the linker map file. | ||
+# | ||
+MAPFILE_POST= | sed 's/^SCHILY/+SCHILY/' | tr '\012' '@' | tr '+' '\012' | tail -r | tr '@' '\012' | ||
+ | ||
+#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) | ||
+#LDOPTS= $(LIBS_PATH) $(LDPATH) | ||
+LDOPTMAP= $(PMAPVERS:%=-Wl,--version-script=%) | ||
+LDOPTDYN= -shared -Wl,-soname,$(TARGET) $(LDOPTMAP) | ||
+ | ||
RANLIB= $(NOECHO)echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- RULES/i386-freebsd-gcc.rul.orig 2022-07-05 01:45:16 UTC | ||
+++ RULES/i386-freebsd-gcc.rul | ||
@@ -38,4 +38,21 @@ LIB_KVM= | ||
|
||
#LDOPTS= $(LIBS_PATH) $(LDPATH) | ||
|
||
+# | ||
+# Sunpro C/C++ run on Solaris and Linux and both have linkers | ||
+# that support mapfiles | ||
+# | ||
+MAPVERS= $(_MAPVERS) # This enables to use mapfiles | ||
+# | ||
+# The GNU linker is buggy and does not like the official order in linker map | ||
+# files for symbol versioning. The following command reverses the order of | ||
+# the version names in the linker map file. | ||
+# | ||
+MAPFILE_POST= | sed 's/^SCHILY/+SCHILY/' | tr '\012' '@' | tr '+' '\012' | tail -r | tr '@' '\012' | ||
+ | ||
+#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) | ||
+#LDOPTS= $(LIBS_PATH) $(LDPATH) | ||
+LDOPTMAP= $(PMAPVERS:%=-Wl,--version-script=%) | ||
+LDOPTDYN= -shared -Wl,-soname,$(TARGET) $(LDOPTMAP) | ||
+ | ||
RANLIB= $(NOECHO)echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters