mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
astro/celestia: Fix build with llvm16
- Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a79ba32c2c
commit
2c215b822a
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue