aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-07-20 01:32:07 +0800
committerkrion <krion@FreeBSD.org>2005-07-20 01:32:07 +0800
commit545d42a93ccdda0e49b349f9c4c1dadc0af4959c (patch)
tree9b7d744171acb221539a8878c2f6eea147334ca4 /audio
parentef14760347f18a3d066e6b7a2589fb76dd5012b5 (diff)
downloadfreebsd-ports-gnome-545d42a93ccdda0e49b349f9c4c1dadc0af4959c.tar.gz
freebsd-ports-gnome-545d42a93ccdda0e49b349f9c4c1dadc0af4959c.tar.zst
freebsd-ports-gnome-545d42a93ccdda0e49b349f9c4c1dadc0af4959c.zip
Add limikmod support.
PR: ports/83734 Submitted by: Alejandro Pulver <alejandro at varnet.biz>
Diffstat (limited to 'audio')
-rw-r--r--audio/sdl_mixer/Makefile8
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>