gentoo/dev-scheme/bigloo/files/bigloo-4.5b-makefile.patch
NHOrus a251f84a66
dev-scheme/bigloo: add 4.5b
Upstream fixed implicit declaration bug.
There are some broken build dependencies that prevent parallel compiles
in bdb subfolder. They are fixed in patch.
Sed in configure file left space where no space is needed - so autoconfig was
running when it wasn't intended to, and assignment of actual ar ranlib
variables executed them as commands instead
Manually pointed configure to location of GC library
Gstreamer can't be build without enabling pulseaudio, noted that in USE flags

Bug: https://bugs.gentoo.org/927163
Bug: https://bugs.gentoo.org/924857
Bug: https://bugs.gentoo.org/870481
Bug: https://bugs.gentoo.org/911667
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2024-06-05 21:33:34 +02:00

37 lines
1.3 KiB
Diff

diff -ru a/bdb/Makefile b/bdb/Makefile
--- a/bdb/Makefile 2024-06-05 17:06:40.098823516 -0000
+++ b/bdb/Makefile 2024-06-05 17:06:45.520796235 -0000
@@ -23,9 +23,14 @@
#*---------------------------------------------------------------------*/
#* Booting bdb on a bare system */
#*---------------------------------------------------------------------*/
-boot:
- @ (cd blib; $(MAKE) all)
- @ (cd bdb; $(MAKE) MODE=final mode)
+boot: blip-boot bdb-boot
+
+blip-boot:
+ @ $(MAKE) -C bdb MODE=final mode
+
+bdb-boot: blip-boot
+ @ $(MAKE) -C blib all
+
#*---------------------------------------------------------------------*/
#* Populating bdb */
diff -ru a/bdb/blib/Makefile b/bdb/blib/Makefile
--- a/bdb/blib/Makefile 2024-06-05 17:06:40.100823506 -0000
+++ b/bdb/blib/Makefile 2024-06-05 17:07:40.738518401 -0000
@@ -80,9 +80,11 @@
#* The implicit rules */
#*---------------------------------------------------------------------*/
objs/%.o: %.scm
+ mkdir -p $(CLASS_DIR)
$(BIGLOO) -no-hello $(BDBFLAGS) -copt $(CPICFLAGS) $< -o $@ -c
objs/%.o: %.c
+ mkdir -p $(CLASS_DIR)
$(CC) $(CFLAGS) $(CPICFLAGS) -I. -I $(LIB) $< -o $@ -c
$(CLASS_DIR)/%.class: %.scm