Index: Makefile =================================================================== --- Makefile (revision 509158) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= sdl_sound PORTVERSION= 1.0.3 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= audio MASTER_SITES= http://www.icculus.org/SDL_sound/downloads/ DISTNAME= SDL_sound-${PORTVERSION} @@ -57,6 +57,13 @@ libogg.so:audio/libogg VORBIS_CONFIGURE_ENABLE=ogg +.include + +.if ${PORT_OPTIONS:MMIDI} +WARNING= "If option MIDI is set to ON, timitidy has to build with option GOEMON=ON" +.endif + + post-patch: @${REINPLACE_CMD} 's|timidity.cfg|${PREFIX}/share/timidity/&|' \ ${WRKSRC}/decoders/timidity/options.h @@ -63,4 +70,4 @@ @${REINPLACE_CMD} 's|__EXPORT__||' \ ${WRKSRC}/playsound/physfsrwops.h -.include +.include