Date: Fri, 21 Jul 2023 19:58:07 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: 23b17b626c0b - main - games/tuxracer: Fix build with llvm16 Message-ID: <202307211958.36LJw7Ew041283@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=23b17b626c0b790c12cdef433c0b1253236fffee commit 23b17b626c0b790c12cdef433c0b1253236fffee Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-21 19:34:30 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-21 19:57:53 +0000 games/tuxracer: Fix build with llvm16 - Add missing DEPENDS - Pet portclippy Sponsored by: The FreeBSD Foundation --- games/tuxracer/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile index e34287829624..fb116f808253 100644 --- a/games/tuxracer/Makefile +++ b/games/tuxracer/Makefile @@ -15,9 +15,10 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gl gmake sdl tk xorg +USE_GL= gl glu USE_SDL= mixer sdl -USE_GL= gl -USE_XORG= x11 xt xmu xi +USE_XORG= ice sm x11 xext xi xmu xt + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \ --with-tcl-libs="${LOCALBASE}/lib" \ @@ -25,8 +26,15 @@ CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \ --with-gl-libs="${LOCALBASE}/lib" \ --with-gl-inc="${LOCALBASE}/include" \ --with-data-dir=${DATADIR} + CPPFLAGS+= -DGLX_GLXEXT_LEGACY +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WORKDATA} ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307211958.36LJw7Ew041283>