diff options
| author | mew14930xvi <mew14930xvi@inbox.lv> | 2025-09-28 17:26:33 +0300 |
|---|---|---|
| committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-09-28 17:31:04 +0300 |
| commit | c0b0a6b9d3856e702cd64caa57991d1663bdbdba (patch) | |
| tree | c3fba27aefd295a4ea505456e24f7b8bdf209037 | |
| parent | 15469f3c515e643c20a1accaf92dcb76d82f8d6c (diff) | |
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
(cherry picked from commit 5b59069e2331755ac47a9a0c7129ea529b46afa9)
| -rw-r--r-- | astro/openuniverse/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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> |
