git: bcdfa5b4d8af - main - x11/cde*: Catch up to src bb421be6c117
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jun 2024 22:18:04 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bcdfa5b4d8afd4868498a1d6c95db44cd928e641
commit bcdfa5b4d8afd4868498a1d6c95db44cd928e641
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-06-02 21:36:19 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-06-02 22:17:59 +0000
x11/cde*: Catch up to src bb421be6c117
src bb421be6c117 moved ftime(3) to libutil. This resulted in this
error:
ld: error: undefined symbol: ftime
>>> referenced by getdate.c
>>> libDtCmP_a-getdate.o:(cm_getdate) in archive ../libDtCmP/libDtCmP.a
There are other programs and libraries that also reference ftime(3).
Rather than patch each Makefile.am, add -lutil to LDFLAGS.
MFH: 2024Q2
---
x11/cde-25/Makefile | 1 +
x11/cde-devel/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/x11/cde-25/Makefile b/x11/cde-25/Makefile
index 4a3121433a33..01f3618a3c80 100644
--- a/x11/cde-25/Makefile
+++ b/x11/cde-25/Makefile
@@ -63,6 +63,7 @@ SUB_FILES= pkg-message
CFLAGS+= -Wno-register -Wno-incompatible-function-pointer-types \
-Wno-implicit-function-declaration
LDFLAGS+= -z muldefs #--allow-multiple-definition
+LDFLAGS+= -lutil
pre-configure:
@cd ${WRKSRC} && ./autogen.sh
diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile
index 0b22cadac949..5bfab618864e 100644
--- a/x11/cde-devel/Makefile
+++ b/x11/cde-devel/Makefile
@@ -70,6 +70,7 @@ SUB_FILES= pkg-message
CFLAGS+= -Wno-register -Wno-incompatible-function-pointer-types \
-Wno-implicit-function-declaration
LDFLAGS+= -z muldefs #--allow-multiple-definition
+LDFLAGS+= -lutil
pre-configure:
@cd ${WRKSRC} && ./autogen.sh