Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2025 14:29:50 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5b59069e2331 - main - astro/openuniverse: Fix build on 13
Message-ID:  <202509281429.58SETojs090236@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b59069e2331755ac47a9a0c7129ea529b46afa9

commit 5b59069e2331755ac47a9a0c7129ea529b46afa9
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2025-09-28 14:26:33 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-28 14:29:26 +0000

    astro/openuniverse: Fix build on 13
    
    ld: error: undefined symbol: ftime
    >>> referenced by ou.cpp
    >>>               ou.o:(Idle())
    >>> did you mean: ctime
    >>> defined in: /lib/libc.so.7
    
    PR:     289876
    Fixes:  c5f57c13a292 (Fix freeglut runtime error)
    MFH:    2025Q3
---
 astro/openuniverse/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile
index 9d08ff83dd1f..c3bb2a42976f 100644
--- a/astro/openuniverse/Makefile
+++ b/astro/openuniverse/Makefile
@@ -18,6 +18,12 @@ USE_XORG=	ice sm x11 xext xi xmu xorgproto
 
 GNU_CONFIGURE=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS}_${OSREL:R} == FreeBSD_13
+LIBS+=		-lcompat
+.else
 LIBS+=		-lutil
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


home | help

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