Date: Sun, 6 Aug 2023 21:53:20 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2c215b822a65 - main - astro/celestia: Fix build with llvm16 Message-ID: <202308062153.376LrKb6075747@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c215b822a65d0f0c24863227e3145d743943ca0 commit 2c215b822a65d0f0c24863227e3145d743943ca0 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-06 21:45:22 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-06 21:53:05 +0000 astro/celestia: Fix build with llvm16 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- astro/celestia/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile index 81efc9d9adee..1dbc884f9d18 100644 --- a/astro/celestia/Makefile +++ b/astro/celestia/Makefile @@ -13,7 +13,9 @@ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png -USES= compiler:c++11-lang gettext gl gmake jpeg libtool lua:52 pkgconfig +USES= compiler:c++11-lang gettext gl gmake jpeg libtool localbase:ldflags \ + lua:52 pkgconfig +USE_CXXSTD= c++14 USE_GL= gl GNU_CONFIGURE= yes EXTRA_PATCHES= ${FILESDIR}/celestia-1.6.1-lua-5.2.patch:-p1 \ @@ -22,8 +24,7 @@ EXTRA_PATCHES= ${FILESDIR}/celestia-1.6.1-lua-5.2.patch:-p1 \ ${FILESDIR}/celestia-1.6.1-gcc48.patch:-p1 CXXFLAGS+= -fsigned-char # fix text rendering (see Gentoo bug 316573) -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -pthread +LDFLAGS+= -pthread UI_LIST= glut gtk gnome CELESTIA_UI?= glut
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308062153.376LrKb6075747>