diff options
-rw-r--r-- | audio/sdl_mixer/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/sdl_mixer/Makefile b/audio/sdl_mixer/Makefile index b60d4ce05eb3..9c7daf3a17d9 100644 --- a/audio/sdl_mixer/Makefile +++ b/audio/sdl_mixer/Makefile @@ -26,9 +26,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + +.if defined(WITH_MIKMOD) +LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod +.endif + post-configure: @${REINPLACE_CMD} -e \ 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ ${WRKSRC}/libtool -.include <bsd.port.mk> +.include <bsd.port.post.mk> |