Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2026 14:18:06 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 059e34ef3908 - main - devel/hp48xgcc: try to fix a race condition during the build
Message-ID:  <69cd291e.27d96.69c4e6d1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=059e34ef3908d346b7495daf040a89db04203995

commit 059e34ef3908d346b7495daf040a89db04203995
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-04-01 14:16:40 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-04-01 14:16:40 +0000

    devel/hp48xgcc: try to fix a race condition during the build
    
    Declare as(1) and ld(1) targets' dependency on the `libLKV.a'
    and use it literally instead of the phony `lib' target.
    
    Reported by:    pkg-fallout
---
 devel/hp48xgcc/files/patch-class_Makefile | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/devel/hp48xgcc/files/patch-class_Makefile b/devel/hp48xgcc/files/patch-class_Makefile
new file mode 100644
index 000000000000..eae2a2c5f6d4
--- /dev/null
+++ b/devel/hp48xgcc/files/patch-class_Makefile
@@ -0,0 +1,30 @@
+--- class/Makefile.orig	1996-11-07 03:08:38 UTC
++++ class/Makefile
+@@ -1,4 +1,4 @@
+-LKV	 = ./LKV/
++LKV	 = LKV
+ 
+ CPPFLAGS += -fno-implicit-templates -Wall -Wconversion -Wno-unused \
+ 	    -DNO_LAZY_ALLOC -I$(LKV) $(CLASS_OPTS)
+@@ -6,15 +6,15 @@ COMMON   = NibStr.o SourceLine.o fp_support.o object.o
+ 
+ LDXX = g++
+ 
+-all:	lib class$(EXE) clld$(EXE)
++all:	class$(EXE) clld$(EXE)
+ 
+-class$(EXE): $(COMMON) class.o class_templates.o
+-	$(LDXX) -o $@ $^ -L$(LKV) -lLKV -lm $(LDFLAGS)
++class$(EXE): $(COMMON) class.o class_templates.o $(LKV)/libLKV.a
++	$(LDXX) -o $@ $^ -lm $(LDFLAGS)
+ 
+-clld$(EXE): $(COMMON) clld.o clld_templates.o resolve.o
+-	$(LDXX) -o $@ $^ -L$(LKV) -lLKV -lm $(LDFLAGS)
++clld$(EXE): $(COMMON) clld.o clld_templates.o resolve.o $(LKV)/libLKV.a
++	$(LDXX) -o $@ $^ -lm $(LDFLAGS)
+ 
+-lib:
++$(LKV)/libLKV.a:
+ 	$(MAKE) -C $(LKV) CPPFLAGS="$(CPPFLAGS)"
+ 
+ clean:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cd291e.27d96.69c4e6d1>