Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 09:40:02 -0700 (PDT)
From:      Cyrille Lefevre <root@gits.dyndns.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/29858: Updated port: audio/lame (3.89b)
Message-ID:  <200109291640.f8TGe2x86572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/29858; it has been noted by GNATS.

From: Cyrille Lefevre <root@gits.dyndns.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc: "David W. Chapman Jr." <dwcjr@inethouston.net>,
	yoshiaki@kt.rim.or.jp
Subject: Re: ports/29858: Updated port: audio/lame (3.89b)
Date: Sat, 29 Sep 2001 18:31:42 +0200 (CEST)

 I'm sorry, but a last minute change (concerning CONFIGURE_ENV) in
 the Makefile is wrong.
 
 Index: /usr/nports/audio/lame-devel/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/audio/lame/Makefile,v
 retrieving revision 1.18
 diff -u -r1.18 Makefile
 --- /usr/nports/audio/lame-devel/Makefile	2001/01/08 00:54:29	1.18
 +++ /usr/nports/audio/lame-devel/Makefile	2001/09/29 16:19:53
 @@ -6,19 +6,44 @@
  #
  
  PORTNAME=	lame
 -PORTVERSION=	3.70
 -PORTREVISION=	2
 +PORTVERSION=	3.89b
  CATEGORIES=	audio
 -MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 -		ftp://lame.sourceforge.net/pub/
 -MASTER_SITE_SUBDIR=	lame/src
 -DISTNAME=	${PORTNAME}${PORTVERSION}
 +MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
 +		ftp://lame.sourceforge.net/pub/%SUBDIR%/ \
 +		http://prdownloads.sourceforge.net/%SUBDIR%/ \
 +		ftp://ftp.fu-berlin.de/unix/sound/%SUBDIR%/ \
 +		ftp://ftp.zlurp.com/source/%SUBDIR%/
 +MASTER_SITE_SUBDIR=	lame
 +DISTNAME=	${PORTNAME:S/-devel//}${PORTVERSION:S/b/beta/}
  
  MAINTAINER=	yoshiaki@kt.rim.or.jp
  
 +BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
 +
 +# lame 3.89b builds ok w/ libvorbis-1.0.r1 but don't w/ r2.
 +# so, Ogg/Vorbis support should be disabled until this problem is fixed.
 +# see the following URL for details and followups :
 +# https://sourceforge.net/tracker/?func=detail&aid=462400&group_id=290&atid=100290
 +.if !defined(WITH_UNTESTED_VORBIS_FIX)
 +WITHOUT_VORBIS=	yes
 +.endif
 +
 +.if !defined(WITHOUT_VORBIS)
 +LIB_DEPENDS=	vorbis.0:${PORTSDIR}/audio/libvorbis
 +
 +# libvorbis sources are required wether or not the library is already installed.
 +DEPENDS=	${PORTSDIR}/audio/libvorbis:patch
 +.endif
 +
 +WRKSRC=		${WRKDIR}/${PORTNAME:S/-devel//}-${PORTVERSION:S/b//}
 +
 +GNU_CONFIGURE=	yes
 +CONFIGURE_ARGS=	--enable-nasm \
 +		--enable-mp3x \
 +		--enable-mp3rtp
  USE_GMAKE=	yes
 +USE_LIBTOOL=	yes
  WANT_GTK=	yes
 -ALL_TARGET=	lame
  
  MAN1=		lame.1
  
 @@ -26,15 +51,58 @@
  
  .if defined(HAVE_GTK)
  USE_GTK=	yes
 +.else
 +CONFIGURE_ARGS+=	--disable-gtktest
 +.endif
 +
 +.if !defined(WITHOUT_VORBIS)
 +LIBVORBIS_SRC!=		cd ${PORTSDIR}/audio/libvorbis && ${MAKE} -V WRKSRC
 +
 +CONFIGURE_ARGS+=	--with-vorbis
 +CONFIGURE_ENV+=		CONFIG_DEFS="${CONFIG_DEFS}" \
 +			CPPFLAGS="-I${LOCALBASE}/include \
 +				  -I${LIBVORBIS_SRC}/lib" \
 +			LDFLAGS="-L${LOCALBASE}/lib" \
 +			LIBS=-logg
 +CONFIG_DEFS=		-DUSE_FFT3DN # -DUSE_FFTSSE -DUSE_FFTFPU
 +.endif
 +
 +DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/-devel//}
 +DOC_FILES=	API PRESETS.draft README TODO USAGE
 +
 +pre-everything::
 +.if !defined(WITH_UNTESTED_VORBIS_FIX)
 +	@${ECHO_MSG}
 +	@${ECHO_MSG} "If you want to compile with Vorbis support" \
 +		     "using an untested fix."
 +	@${ECHO_MSG} "hit Ctrl-C right now and use " \
 +		     "\"make WITH_UNTESTED_VORBIS_FIX=yes\""
 +	@${ECHO_MSG}
 +.else
 +.if !defined(WITHOUT_VORBIS)
 +	@${ECHO_MSG}
 +	@${ECHO_MSG} "If you don't want to compile with Vorbis support."
 +	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\""
 +	@${ECHO_MSG}
 +.endif
  .endif
  
 +.if defined(NOPORTDOCS)
  do-install:
 -	@${INSTALL_PROGRAM} ${WRKSRC}/lame ${PREFIX}/bin
 -	@${INSTALL_MAN} ${WRKSRC}/doc/man/lame.1 ${PREFIX}/man/man1
 -.if !defined(NOPORTDOCS)
 -	@${MKDIR} ${PREFIX}/share/doc/lame
 -	@${INSTALL_DATA} ${WRKSRC}/doc/html/*.html \
 -		${WRKSRC}/doc/html/*.css ${PREFIX}/share/doc/lame
 +	@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
 +		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec
 +	@cd ${INSTALL_WRKSRC}/include && ${SETENV} ${MAKE_ENV} ${GMAKE} \
 +		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
 +	@cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \
 +		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
 +.else
 +post-install: install-doc
 +
 +install-doc:
 +	@${MKDIR} ${DOCSDIR}
 +.for file in ${DOC_FILES}
 +	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 +.endfor
  .endif
  
  .include <bsd.port.post.mk>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109291640.f8TGe2x86572>