View | Details | Raw Unified | Return to bug 181695
Collapse All | Expand All

(-)audio/sdl2_mixer/Makefile (-4 / +14 lines)
Lines 19-28 LDFLAGS+= -L${LOCALBASE}/lib Link Here
19
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
21
22
OPTIONS_DEFINE=		FLUIDSYNTH MODPLUG FLAC VORBIS
22
OPTIONS_DEFINE=		FLUIDSYNTH FLAC VORBIS
23
OPTIONS_DEFAULT=	FLUIDSYNTH MODPLUG FLAC VORBIS
23
OPTIONS_DEFAULT=	FLUIDSYNTH MODPLUG FLAC VORBIS
24
OPTIONS_RADIO=		MOD
25
OPTIONS_RADIO_MOD=	MIKMOD MODPLUG
24
26
25
FLUIDSYNTH_DESC=	Enable SoundFont2 Midi support via fluidsynth
27
FLUIDSYNTH_DESC=	Enable SoundFont2 Midi support via fluidsynth
28
MIKMOD_DESC=	Enable MOD music via libMikMod
26
MODPLUG_DESC=	Enable MOD music via libModPlug
29
MODPLUG_DESC=	Enable MOD music via libModPlug
27
FLAC_DESC=	Enable FLAC encoding support via flac
30
FLAC_DESC=	Enable FLAC encoding support via flac
28
VORBIS_DESC=	Enable Ogg Vorbis music
31
VORBIS_DESC=	Enable Ogg Vorbis music
Lines 29-39 VORBIS_DESC= Enable Ogg Vorbis music Link Here
29
32
30
.include <bsd.port.options.mk>
33
.include <bsd.port.options.mk>
31
34
35
.if ${PORT_OPTIONS:MMIKMOD}
36
LIB_DEPENDS+=		libmikmod.so:${PORTSDIR}/audio/libmikmod
37
CONFIGURE_ARGS+=	--enable-music-mod-mikmod
38
.else
39
CONFIGURE_ARGS+=	--disable-music-mod-mikmod
40
.endif
41
32
.if ${PORT_OPTIONS:MMODPLUG}
42
.if ${PORT_OPTIONS:MMODPLUG}
33
LIB_DEPENDS+=		modplug:${PORTSDIR}/audio/libmodplug
43
LIB_DEPENDS+=		libmodplug.so:${PORTSDIR}/audio/libmodplug
34
CONFIGURE_ARGS+=	--enable-music-mod --enable-music-mod-modplug
44
CONFIGURE_ARGS+=	--enable-music-mod-modplug
35
.else
45
.else
36
CONFIGURE_ARGS+=	--disable-music-mod --disable-music-mod-modplug
46
CONFIGURE_ARGS+=	--disable-music-mod-modplug
37
.endif
47
.endif
38
48
39
.if ${PORT_OPTIONS:MFLAC}
49
.if ${PORT_OPTIONS:MFLAC}
(-)audio/sdl_mixer/Makefile (-2 / +12 lines)
Lines 22-31 LDFLAGS+= -L${LOCALBASE}/lib Link Here
22
CPPFLAGS+=	-I${LOCALBASE}/include
22
CPPFLAGS+=	-I${LOCALBASE}/include
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
25
OPTIONS_DEFINE=		MIKMOD SMPEG FLAC VORBIS TIMIDITYPLUS
25
OPTIONS_DEFINE=		SMPEG FLAC VORBIS TIMIDITYPLUS
26
OPTIONS_DEFAULT=	MIKMOD SMPEG FLAC VORBIS
26
OPTIONS_DEFAULT=	MIKMOD SMPEG FLAC VORBIS
27
OPTIONS_RADIO=		MOD
28
OPTIONS_RADIO_MOD=	MIKMOD MODPLUG
27
29
28
MIKMOD_DESC=	Enable MOD music via libMikMod
30
MIKMOD_DESC=	Enable MOD music via libMikMod
31
MODPLUG_DESC=	Enable MOD music via libModPlug
29
SMPEG_DESC=	Enable MP3 music via SMPEG
32
SMPEG_DESC=	Enable MP3 music via SMPEG
30
FLAC_DESC=	Enable FLAC encoding support via flac
33
FLAC_DESC=	Enable FLAC encoding support via flac
31
VORBIS_DESC=	Enable Ogg Vorbis music
34
VORBIS_DESC=	Enable Ogg Vorbis music
Lines 34-45 TIMIDITYPLUS_DESC= Use Timidity++ instead of Timid Link Here
34
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
35
38
36
.if ${PORT_OPTIONS:MMIKMOD}
39
.if ${PORT_OPTIONS:MMIKMOD}
37
LIB_DEPENDS+=	mikmod:${PORTSDIR}/audio/libmikmod
40
LIB_DEPENDS+=		libmikmod.so:${PORTSDIR}/audio/libmikmod
38
CONFIGURE_ARGS+=	--enable-music-mod
41
CONFIGURE_ARGS+=	--enable-music-mod
39
.else
42
.else
40
CONFIGURE_ARGS+=	--disable-music-mod
43
CONFIGURE_ARGS+=	--disable-music-mod
41
.endif
44
.endif
42
45
46
.if ${PORT_OPTIONS:MMODPLUG}
47
LIB_DEPENDS+=		libmodplug.so:${PORTSDIR}/audio/libmodplug
48
CONFIGURE_ARGS+=	--enable-music-mod-modplug
49
.else
50
CONFIGURE_ARGS+=	--disable-music-mod-modplug
51
.endif
52
43
.if ${PORT_OPTIONS:MFLAC}
53
.if ${PORT_OPTIONS:MFLAC}
44
LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
54
LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
45
CONFIGURE_ARGS+=	--enable-music-flac
55
CONFIGURE_ARGS+=	--enable-music-flac

Return to bug 181695