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

Collapse All | Expand All

(-)devel/sdl20/Makefile (-7 / +23 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	sdl2
3
PORTNAME=	sdl2
4
PORTVERSION=	2.0.3
4
PORTVERSION=	2.0.3
5
PORTREVISION=	4
5
PORTREVISION=	5
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://www.libsdl.org/release/
7
MASTER_SITES=	http://www.libsdl.org/release/
8
DISTNAME=	SDL2-${PORTVERSION}
8
DISTNAME=	SDL2-${PORTVERSION}
Lines 25-37 CONFIGURE_ARGS+= --disable-video-opengle Link Here
25
			--disable-dbus \
25
			--disable-dbus \
26
			--disable-input-tslib \
26
			--disable-input-tslib \
27
			--disable-rpath
27
			--disable-rpath
28
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
29
CONFIGURE_ARGS+=	--enable-mmx
30
.else
31
CONFIGURE_ARGS+=	--disable-mmx
32
.endif
33
.if defined(MACHINE_CPU) && ${MACHINE_CPU:M3dnow}
34
CONFIGURE_ARGS+=	--enable-3dnow
35
.else
36
CONFIGURE_ARGS+=	--disable-3dnow
37
.endif
38
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse}
39
CONFIGURE_ARGS+=	--enable-sse
40
.else
41
CONFIGURE_ARGS+=	--disable-sse
42
.endif
43
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}
44
CONFIGURE_ARGS+=	--enable-sse2
45
.else
46
CONFIGURE_ARGS+=	--disable-sse2
47
.endif
28
48
29
CPPFLAGS+=	-I${LOCALBASE}/include
49
CPPFLAGS+=	-I${LOCALBASE}/include
30
LDFLAGS+=	-L${LOCALBASE}/lib
50
LDFLAGS+=	-L${LOCALBASE}/lib
31
51
32
52
33
OPTIONS_DEFINE=		ALSA ASM DLOPEN ESOUND MMX NAS OSS \
53
OPTIONS_DEFINE=		ALSA ASM DLOPEN ESOUND NAS OSS \
34
			PULSEAUDIO PTHREADS SSE SDL_ATOMIC SDL_AUDIO \
54
			PULSEAUDIO PTHREADS SDL_ATOMIC SDL_AUDIO \
35
			SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \
55
			SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \
36
			SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \
56
			SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \
37
			SDL_THREADS SDL_TIMERS SDL_VIDEO VIDEO_OPENGL VIDEO_X11
57
			SDL_THREADS SDL_TIMERS SDL_VIDEO VIDEO_OPENGL VIDEO_X11
Lines 39-46 OPTIONS_DEFAULT= ASM DLOPEN OSS PTHREADS Link Here
39
			SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \
59
			SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \
40
			SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \
60
			SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \
41
			SDL_THREADS SDL_TIMERS SDL_VIDEO VIDEO_OPENGL VIDEO_X11
61
			SDL_THREADS SDL_TIMERS SDL_VIDEO VIDEO_OPENGL VIDEO_X11
42
OPTIONS_DEFAULT_i386=	MMX SSE
43
OPTIONS_DEFAULT_amd64=	MMX SSE
44
62
45
ALSA_DESC=		Audio output via the ALSA audio architecture
63
ALSA_DESC=		Audio output via the ALSA audio architecture
46
DLOPEN_DESC=		Use dlopen for loading 3rd party libraries
64
DLOPEN_DESC=		Use dlopen for loading 3rd party libraries
Lines 67-73 VIDEO_X11_DESC= X11 rendering support Link Here
67
85
68
ASM_CONFIGURE_ENABLE=		assembly
86
ASM_CONFIGURE_ENABLE=		assembly
69
DLOPEN_CONFIGURE_ENABLE=	sdl-dlopen
87
DLOPEN_CONFIGURE_ENABLE=	sdl-dlopen
70
MMX_CONFIGURE_ENABLE=		mmx 3dnow
71
PTHREADS_CONFIGURE_ENABLE=	pthreads pthreads-sem
88
PTHREADS_CONFIGURE_ENABLE=	pthreads pthreads-sem
72
SDL_ATOMIC_CONFIGURE_ENABLE=	atomic gcc-atomics
89
SDL_ATOMIC_CONFIGURE_ENABLE=	atomic gcc-atomics
73
SDL_AUDIO_CONFIGURE_ENABLE=	audio
90
SDL_AUDIO_CONFIGURE_ENABLE=	audio
Lines 82-88 SDL_RENDER_CONFIGURE_ENABLE= render Link Here
82
SDL_THREADS_CONFIGURE_ENABLE=	threads
99
SDL_THREADS_CONFIGURE_ENABLE=	threads
83
SDL_TIMERS_CONFIGURE_ENABLE=	timers
100
SDL_TIMERS_CONFIGURE_ENABLE=	timers
84
SDL_VIDEO_CONFIGURE_EANBLE=	video
101
SDL_VIDEO_CONFIGURE_EANBLE=	video
85
SSE_CONFIGURE_ENABLE=		sse sse2 ssemath
86
102
87
.include <bsd.port.options.mk>
103
.include <bsd.port.options.mk>
88
104

Return to bug 198738