Skip to content

Commit

Permalink
astro/openuniverse: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize USES=localbase
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 5, 2023
1 parent aa4f120 commit 46f341b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions astro/openuniverse/Makefile
Expand Up @@ -8,15 +8,17 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL Solar System simulator for X Window System
WWW= http://openuniverse.sourceforge.net/

USES= gl gmake jpeg xorg
USES= gl gmake jpeg localbase xorg
USE_CXXSTD= c++14
USE_GL= glut
USE_XORG= sm ice xmu xi xext x11

GNU_CONFIGURE= yes

CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \

CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm -lcompat
CPPFLAGS+= -I${LOCALBASE}/include/GL
LIBS+= -lm -lcompat

.include <bsd.port.mk>

0 comments on commit 46f341b

Please sign in to comment.