svn commit: r335835 - head/audio/beast

Baptiste Daroussin bapt at FreeBSD.org
Sat Dec 7 20:37:41 UTC 2013


On Sat, Dec 07, 2013 at 05:21:54PM +0000, Danilo Egea Gondolfo wrote:
> Author: danilo
> Date: Sat Dec  7 17:21:53 2013
> New Revision: 335835
> URL: http://svnweb.freebsd.org/changeset/ports/335835
> 
> Log:
>   - Fix port build (remove BROKEN). Remove -DG_DISABLE_DEPRECATED from Makefile.(in|am), this port uses deprecated functions from glib20.
>   - Use gcc 4.6+ to support -std=gnu++0x
>   - Add stage support
>   - Convert LIB_DEPENDS to new syntax
>   - Add desktop-file-utils and shared-mime-info to USES
> 
> Modified:
>   head/audio/beast/Makefile
>   head/audio/beast/pkg-plist
> 
> Modified: head/audio/beast/Makefile
> ==============================================================================
> --- head/audio/beast/Makefile	Sat Dec  7 17:14:12 2013	(r335834)
> +++ head/audio/beast/Makefile	Sat Dec  7 17:21:53 2013	(r335835)
> @@ -13,20 +13,18 @@ COMMENT=	Powerful music composition and 
>  
>  LICENSE=	LGPL21
>  
> -LIB_DEPENDS=	asound:${PORTSDIR}/audio/alsa-lib \
> -		mad:${PORTSDIR}/audio/libmad \
> -		vorbisfile:${PORTSDIR}/audio/libvorbis \
> -		guile:${PORTSDIR}/lang/guile
> +LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib \
> +		libmad.so:${PORTSDIR}/audio/libmad \
> +		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
> +		libguile.so:${PORTSDIR}/lang/guile
>  RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
>  
> -BROKEN=		Does not build
> -
> +OPTIONS_DEFINE=		DEBUG
>  OPTIONS_DEFINE_i386=	SSE
>  
>  USE_BZIP2=	yes
> -NO_STAGE=	yes
> -USES=		gmake pathfix gettext pkgconfig
> -USE_GCC=	yes
> +USES=		desktop-file-utils gmake gettext pathfix pkgconfig shared-mime-info
> +USE_GCC=	4.6+
>  USE_GNOME=	gnomehier libgnomecanvas
>  GNU_CONFIGURE=	yes
>  CONFIGURE_ARGS=	--disable-silent-rules \
> @@ -40,8 +38,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib
>  
>  PLIST_SUB=	VERSION="${PORTVERSION}"
>  
> -MAN1=		beast.1 bsescm.1 bsewavetool.1 sfidl.1
> -MAN5=		bse.5
> +DEBUG_CONFIGURE_ENABLE=	debug
>  
>  .include <bsd.port.pre.mk>
>  
> @@ -57,10 +54,6 @@ PLIST_SUB+=	SSE="@comment "
>  SSE_FLAGS=	# none
>  .endif
>  
> -.if empty(PORT_OPTIONS:MDEBUG)
> -CONFIGURE_ARGS+=--disable-debug
> -.endif
> -
>  post-patch:
>  	@${REINPLACE_CMD} -e \
>  		'/^[[:space:]].*FLAGS -[Ofgp].*"/s|^|#| ; \
> @@ -75,5 +68,8 @@ post-patch:
>  	@${REINPLACE_CMD} -e \
>  		's|; q|;| ; \
>  		 s|-o \(pipefail\)|\1|' ${WRKSRC}/docs/Makefile.in
> +	@${REINPLACE_CMD} -e \
> +		's|-DG_DISABLE_DEPRECATED||' ${WRKSRC}/bse/Makefile.am \
> +		${WRKSRC}/bse/Makefile.in
>  
>  .include <bsd.port.post.mk>
> 
> Modified: head/audio/beast/pkg-plist
> ==============================================================================
> --- head/audio/beast/pkg-plist	Sat Dec  7 17:14:12 2013	(r335834)
> +++ head/audio/beast/pkg-plist	Sat Dec  7 17:21:53 2013	(r335835)
> @@ -4,6 +4,11 @@ bin/bsescm
>  bin/bsescm-%%VERSION%%
>  bin/bsewavetool
>  bin/sfidl
> +man/man1/beast.1.gz
> +man/man1/bsescm.1.gz
> +man/man1/bsewavetool.1.gz
> +man/man1/sfidl.1.gz
> +man/man5/bse.5.gz
>  include/birnet/birnet.hh
>  include/birnet/birnetcdefs.h
>  include/birnet/birnetconfig.h

compiler:c++11-lang (or c++11-lib) does not work? the bonus is that you are not
tight to gcc but you can also use clang when available.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20131207/8c592bf4/attachment.sig>


More information about the svn-ports-head mailing list