Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 17:21:54 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335835 - head/audio/beast
Message-ID:  <201312071721.rB7HLsph049433@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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