update audio/sdl_mixer:
- Utilize USE_SDL - PERL -> REINPLACE_CMD PR: 55052 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
923aca5c0a
commit
3857dbc24f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86014
1 changed files with 10 additions and 10 deletions
|
@ -14,20 +14,20 @@ DISTNAME= SDL_mixer-${PORTVERSION}
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A sample multi-channel audio mixer library
|
||||
|
||||
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
|
||||
smpeg.1:${PORTSDIR}/multimedia/smpeg \
|
||||
vorbis.2:${PORTSDIR}/audio/libvorbis
|
||||
LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \
|
||||
smpeg.1:${PORTSDIR}/multimedia/smpeg
|
||||
|
||||
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
USE_SDL= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
||||
CPPFLAGS="-I${X11BASE}/include"
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
|
||||
${WRKSRC}/libtool
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
|
||||
${WRKSRC}/libtool
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue