aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-06-02 21:36:19 +0000
committerCy Schubert <cy@FreeBSD.org>2024-06-02 22:17:59 +0000
commitbcdfa5b4d8afd4868498a1d6c95db44cd928e641 (patch)
tree30b684c6d1f9259d39f6fb0800b80329cb340596
parentbfe721a69c5e23499143257a2d0af4a992076c02 (diff)
downloadports-bcdfa5b4d8afd4868498a1d6c95db44cd928e641.tar.gz
ports-bcdfa5b4d8afd4868498a1d6c95db44cd928e641.zip
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
-rw-r--r--x11/cde-25/Makefile1
-rw-r--r--x11/cde-devel/Makefile1
2 files changed, 2 insertions, 0 deletions
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