View | Details | Raw Unified | Return to bug 280403 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/foobillard/Makefile (-15 / +19 lines)
Lines 1-6 Link Here
1
PORTNAME=	foobillard
1
PORTNAME=	foobillard
2
PORTVERSION=	3.0a
2
PORTVERSION=	3.0a
3
PORTREVISION=	13
3
PORTREVISION=	14
4
CATEGORIES=	games
4
CATEGORIES=	games
5
MASTER_SITES=	SF/${PORTNAME}/FooBillard-Sources/
5
MASTER_SITES=	SF/${PORTNAME}/FooBillard-Sources/
6
6
Lines 11-21 WWW= https://foobillard.sourceforge.net/ Link Here
11
LICENSE=	GPLv2
11
LICENSE=	GPLv2
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
LIB_DEPENDS=	libpng.so:graphics/png \
14
ONLY_FOR_ARCHS=	i386 amd64
15
		libfreetype.so:print/freetype2
15
16
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
17
		libpng.so:graphics/png
16
18
17
USES=		gmake localbase:ldflags pkgconfig xorg
19
USES=		gmake localbase:ldflags pkgconfig xorg
18
USE_XORG=	xaw ice
20
USE_XORG=	ice xaw
19
21
20
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
21
23
Lines 26-50 DESKTOP_ENTRIES= "Foobillard" \ Link Here
26
			"Game;Simulation;" \
28
			"Game;Simulation;" \
27
			false
29
			false
28
30
29
OPTIONS_DEFINE=	SDL NVIDIA_BUMPREF
31
OPTIONS_DEFINE=	NVIDIA_BUMPREF SDL
30
32
31
NVIDIA_BUMPREF_DESC=	NVidia extensions
33
NVIDIA_BUMPREF_DESC=	NVidia extensions
32
SDL_DESC=	SDL instead of glut
34
SDL_DESC=		SDL instead of glut
33
35
34
NVIDIA_BUMPREF_CONFIGURE_OFF=	--disable-nvidia
36
NVIDIA_BUMPREF_CONFIGURE_OFF=	--disable-nvidia
35
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
37
NVIDIA_BUMPREF_CFLAGS_OFF=	-DGL_AMD_gpu_shader_int64=1 \
36
SDL_USES=		sdl
38
				-DGLuint64EXT=uint64_t -DGLint64EXT=int64_t \
37
SDL_USE=	SDL=sdl
39
				-UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1
38
SDL_CONFIGURE_ON=	--enable-SDL
40
SDL_USES=			sdl
39
SDL_USES_OFF=	gl
41
SDL_USE=			SDL=sdl
40
SDL_USE_OFF=	GL=glut
42
SDL_CONFIGURE_ON=		--enable-SDL
41
SDL_CONFIGURE_OFF=	--enable-glut
43
SDL_USES_OFF=			gl
44
SDL_USE_OFF=			GL=glut
45
SDL_CONFIGURE_OFF=		--enable-glut
42
46
43
FREETYPE_CONFIG?=	pkg-config freetype2
47
FREETYPE_CONFIG?=	pkg-config freetype2
44
48
45
.include <bsd.port.options.mk>
49
.include <bsd.port.options.mk>
46
50
47
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
51
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400091 || (${OSVERSION} >= 1302507 && \
52
	${OSVERSION} < 1400000))
48
CFLAGS+=	-Wno-error=incompatible-function-pointer-types
53
CFLAGS+=	-Wno-error=incompatible-function-pointer-types
49
.endif
54
.endif
50
55
51
- 

Return to bug 280403