git: e21b20273ae7 - main - games/foobillard: set BROKEN_aarch64, sort out Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jul 2024 19:28:51 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e21b20273ae7e25fe6990443a63b0526cc8d1e00 commit e21b20273ae7e25fe6990443a63b0526cc8d1e00 Author: Thomas Vogt <thomas@bsdunix.ch> AuthorDate: 2024-07-22 19:24:16 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-22 19:24:16 +0000 games/foobillard: set BROKEN_aarch64, sort out Makefile Can't build on aarch64 with error: improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x29B694 is not aligned to 8 bytes Fix dependencies from GL and XORG, pet portclippy. PR: 280403 MFH: 2024Q3 --- games/foobillard/Makefile | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile index 34eb467e2288..d5eed728653c 100644 --- a/games/foobillard/Makefile +++ b/games/foobillard/Makefile @@ -1,6 +1,6 @@ PORTNAME= foobillard PORTVERSION= 3.0a -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/FooBillard-Sources/ @@ -11,11 +11,15 @@ WWW= https://foobillard.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpng.so:graphics/png \ - libfreetype.so:print/freetype2 +BROKEN_aarch64= improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: \ + 0x29B694 is not aligned to 8 bytes -USES= gmake localbase:ldflags pkgconfig xorg -USE_XORG= xaw ice +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libpng.so:graphics/png + +USES= gl gmake localbase:ldflags pkgconfig xorg +USE_GL= gl glu +USE_XORG= ice sm xaw xi GNU_CONFIGURE= yes @@ -26,25 +30,27 @@ DESKTOP_ENTRIES= "Foobillard" \ "Game;Simulation;" \ false -OPTIONS_DEFINE= SDL NVIDIA_BUMPREF +OPTIONS_DEFINE= NVIDIA_BUMPREF SDL NVIDIA_BUMPREF_DESC= NVidia extensions -SDL_DESC= SDL instead of glut +SDL_DESC= SDL instead of glut NVIDIA_BUMPREF_CONFIGURE_OFF= --disable-nvidia -NVIDIA_BUMPREF_CFLAGS_OFF= -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 +NVIDIA_BUMPREF_CFLAGS_OFF= -DGL_AMD_gpu_shader_int64=1 \ + -DGL_NV_vertex_program=1 -DGLint64EXT=int64_t \ + -DGLuint64EXT=uint64_t -UGL_VERTEX_PROGRAM_NV SDL_USES= sdl -SDL_USE= SDL=sdl +SDL_USE= SDL=sdl +SDL_USE_OFF= GL=glut SDL_CONFIGURE_ON= --enable-SDL -SDL_USES_OFF= gl -SDL_USE_OFF= GL=glut SDL_CONFIGURE_OFF= --enable-glut FREETYPE_CONFIG?= pkg-config freetype2 .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || \ + ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif @@ -53,6 +59,7 @@ post-patch: ${WRKSRC}/src/Makefile.in post-install: - ${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${STAGEDIR}${PREFIX}/share/man/man6/foobillard.6 + ${INSTALL_MAN} ${WRKSRC}/foobillard.6 \ + ${STAGEDIR}${PREFIX}/share/man/man6/foobillard.6 .include <bsd.port.mk>