mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 19:16: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
|
PORTNAME= openuniverse
|
||||||
DISTVERSION= 1.0beta3
|
DISTVERSION= 1.0beta3
|
||||||
PORTREVISION= 14
|
PORTREVISION= 15
|
||||||
CATEGORIES= astro
|
CATEGORIES= astro
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3
|
||||||
|
|
||||||
|
@ -8,9 +8,12 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= OpenGL Solar System simulator for X Window System
|
COMMENT= OpenGL Solar System simulator for X Window System
|
||||||
WWW= https://openuniverse.sourceforge.net/
|
WWW= https://openuniverse.sourceforge.net/
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
USES= gl gmake jpeg localbase xorg
|
USES= gl gmake jpeg localbase xorg
|
||||||
USE_CXXSTD= c++14
|
USE_CXXSTD= c++14
|
||||||
USE_GL= glut
|
USE_GL= gl glu glut
|
||||||
USE_XORG= sm ice xmu xi xext x11
|
USE_XORG= sm ice xmu xi xext x11
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -19,6 +22,6 @@ CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
|
||||||
--libdir="${LOCALBASE}/lib" \
|
--libdir="${LOCALBASE}/lib" \
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include/GL
|
CPPFLAGS+= -I${LOCALBASE}/include/GL
|
||||||
LIBS+= -lm -lcompat
|
LIBS+= -lm -lcompat -lutil
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue