git: 46f341bb9352 - main - astro/openuniverse: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 19:34:51 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=46f341bb935225b15ae3aea20293019eb5a22f68 commit 46f341bb935225b15ae3aea20293019eb5a22f68 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 19:09:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 19:34:42 +0000 astro/openuniverse: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- astro/openuniverse/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile index 7fad1608d9d0..c4876144fe54 100644 --- a/astro/openuniverse/Makefile +++ b/astro/openuniverse/Makefile @@ -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>