Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2024 08:51:43 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 8c761ec8287b - 2024Q4 - astro/openuniverse: fix build on FreeBSD 15-CURRENT
Message-ID:  <202411140851.4AE8phb0035428@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c761ec8287b3426a08511266661aa2a9f2dc60f

commit 8c761ec8287b3426a08511266661aa2a9f2dc60f
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-11-10 11:25:32 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-14 08:47:25 +0000

    astro/openuniverse: fix build on FreeBSD 15-CURRENT
    
    ftime() is now provided by libutil; link -lutil in addition to -lcompat
    to get it; this is harmless on older FreeBSD.
    
    While we are at it, define LICENSE and fix USE_GL stage-qa warnings.
    
    MFH:            2024Q4
    (cherry picked from commit c3dde4ea970725e330129e79b3130457f08a1459)
---
 astro/openuniverse/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile
index 64cab73e340b..414b1c2b89af 100644
--- a/astro/openuniverse/Makefile
+++ b/astro/openuniverse/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openuniverse
 DISTVERSION=	1.0beta3
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	astro
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.0beta3
 
@@ -8,9 +8,12 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	OpenGL Solar System simulator for X Window System
 WWW=		https://openuniverse.sourceforge.net/
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		gl gmake jpeg localbase xorg
 USE_CXXSTD=	c++14
-USE_GL=		glut
+USE_GL=		gl glu glut
 USE_XORG=	sm ice xmu xi xext x11
 
 GNU_CONFIGURE=	yes
@@ -19,6 +22,6 @@ CONFIGURE_ARGS=	--includedir="${LOCALBASE}/include" \
 		--libdir="${LOCALBASE}/lib" \
 
 CPPFLAGS+=	-I${LOCALBASE}/include/GL
-LIBS+=		-lm -lcompat
+LIBS+=		-lm -lcompat -lutil
 
 .include <bsd.port.mk>



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