mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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
This commit is contained in:
parent
ae833d4377
commit
c3dde4ea97
1 changed files with 6 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue