ports/55052: Update port: audio/sdl_mixer

KATO Tsuguru tkato at prontomail.com
Wed Jul 30 15:30:31 UTC 2003


>Number:         55052
>Category:       ports
>Synopsis:       Update port: audio/sdl_mixer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 30 08:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_SDL
- PERL -> REINPLACE_CMD

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/sdl_mixer/Makefile audio/sdl_mixer/Makefile
--- /usr/ports/audio/sdl_mixer/Makefile	Tue Jul 29 21:31:10 2003
+++ audio/sdl_mixer/Makefile	Wed Jul 30 23:03:45 2003
@@ -14,20 +14,20 @@
 MAINTAINER=	ports at 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>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list