From owner-freebsd-ports@FreeBSD.ORG Fri Sep 17 21:04:14 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2EAE16A4CE for ; Fri, 17 Sep 2004 21:04:13 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FAF243D3F for ; Fri, 17 Sep 2004 21:04:13 +0000 (GMT) (envelope-from lists@mactutor.biz) Received: from [192.168.0.20] (really [68.64.69.17]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040917210412.BWIQ404.mta11.adelphia.net@[192.168.0.20]> for ; Fri, 17 Sep 2004 17:04:12 -0400 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <20032A28-08ED-11D9-8547-000A95775140@mactutor.biz> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: ports@freebsd.org From: mailing lists at MacTutor Date: Fri, 17 Sep 2004 17:04:12 -0400 X-Mailer: Apple Mail (2.619) Subject: Makefile for audio/mp3blaster not working correctly, changes included... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 21:04:14 -0000 /usr/ports/audio/mp3blaster/Makefile appears to be wrong. I've written a correction that I hope is correct. It defaults to all values ON. The default behavior turns lirc, sidplay, and vorbis ON. I'm running this under 4.10-STABLE (i386). Of course, my apologies for not supplying a patch. Instead, I've cut and pasted the Makefile for mp3blaster (audio/mp3blaster) from OS X. What I did: 1. LIRC, SIDPLAY, and VORBIS default to ON. 2. -D{WITHOUT_SIDPLAY, WITHOUT_LIRC, WITHOUT_VORBIS} to turn OFF. 3. updated pre-everything:: to reflect changes. Alex(ander Sendzimir) ---------------------------------------------------------- start /usr/ports/audio/mp3blaster/Makefile ---------------------------------------------------------- # New ports collection makefile for: mp3blaster # Date created: 5 January 2000 # Whom: Michael Vasilenko # # $FreeBSD: ports/audio/mp3blaster/Makefile,v 1.21 2004/03/22 13:40:31 clement Exp $ # PORTNAME= mp3blaster PORTVERSION= 3.2.0 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.stack.nl/~brama/mp3blaster/src/ MAINTAINER= ports@FreeBSD.org COMMENT= MP3 console ncurses-based player USE_GETOPT_LONG= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS}" MAN1= mp3blaster.1 nmixer.1 splay.1 CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} .include .if ${OSVERSION} < 400010 LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses .endif .if defined(WITHOUT_LIRC) CONFIGURE_ARGS+= --with-lirc .else LIB_DEPENDS+= lirc_client.0:${PORTSDIR}/comms/lirc .endif .if defined(WITHOUT_SIDPLAY) CONFIGURE_ARGS+= --without-sidplay .else LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay .endif .if defined(WITHOUT_VORBIS) CONFIGURE_ARGS+= --without-oggvorbis .else LIB_DEPENDS+= vorbisfile.4:${PORTSDIR}/audio/libvorbis .endif pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "MP3Blaster has the following tunable option(s):" @${ECHO_MSG} "" @${ECHO_MSG} " WITHOUT_LIRC Turns off LIRC support" @${ECHO_MSG} " WITHOUT_SIDPLAY Turns off Sidplayer support" @${ECHO_MSG} " WITHOUT_VORBIS Turns off Ogg Vorbis support" @${ECHO_MSG} "" post-extract: @${FIND} ${WRKSRC} -name "getopt*" -delete post-patch: @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/local/share/mp3blaster/win2koi.tbl|${DATADIR}/charmap/ win2koi.tbl|' \ ${WRKSRC}/doc/sample.mp3blasterrc .include ---------------------------------------------------------- end /usr/ports/audio/mp3blaster/Makefile ---------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Alexander Sendzimir (owner) 802 863 5502 MacTutor: Apple Mac OS X Consulting info@mactutor.biz