Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2024 22:18:04 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bcdfa5b4d8af - main - x11/cde*: Catch up to src bb421be6c117
Message-ID:  <202406022218.452MI4vg003585@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406022218.452MI4vg003585>