ports/87053: Update port: audio/fluidsynth to 1.0.6

KATO Tsuguru tkato432 at yahoo.com
Fri Oct 7 14:10:22 UTC 2005


>Number:         87053
>Category:       ports
>Synopsis:       Update port: audio/fluidsynth to 1.0.6
>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:   Fri Oct 07 14:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.6

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/fluidsynth/Makefile audio/fluidsynth/Makefile
--- /usr/ports/audio/fluidsynth/Makefile	Sun Sep 25 20:28:16 2005
+++ audio/fluidsynth/Makefile	Fri Oct  7 04:01:34 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	fluidsynth
-PORTVERSION=	1.0.5
+PORTVERSION=	1.0.6
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	fluid
@@ -14,18 +14,33 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Real-time software synthesizer based on the SoundFont 2 specifications
 
-INSTALLS_SHLIB=	yes
-USE_GMAKE=	yes
-USE_GNOME=	pkgconfig
+USE_GNOME=	gnomehack gnometarget pkgconfig
 USE_GETOPT_LONG=	yes
-USE_INC_LIBTOOL_VER=	13
 USE_REINPLACE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
+USE_GMAKE=	yes
+USE_LIBTOOL_VER=	15
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+INSTALLS_SHLIB=	yes
 
 MAN1=		fluidsynth.1
 
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+
+.if defined(WITH_JACK)
+LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
+.else
+CONFIGURE_ARGS+=	--disable-jack-support
+.endif
+
+.if defined(WITH_LADSPA)
+BUILD_DEPENDS+=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+RUN_DEPENDS+=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+CONFIGURE_ARGS+=	--enable-ladspa
+.endif
+
 post-patch:
-	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's| -O2| |g ; \
+		 s|== "yes"|= "yes"|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/fluidsynth/distinfo audio/fluidsynth/distinfo
--- /usr/ports/audio/fluidsynth/distinfo	Tue Apr  5 00:58:21 2005
+++ audio/fluidsynth/distinfo	Fri Oct  7 03:47:41 2005
@@ -1,2 +1,2 @@
-MD5 (fluidsynth-1.0.5.tar.gz) = eaee2276ef9cdc3bd17138c74098de83
-SIZE (fluidsynth-1.0.5.tar.gz) = 991183
+MD5 (fluidsynth-1.0.6.tar.gz) = f18fd54d3f877a547b8455d2b6c7b177
+SIZE (fluidsynth-1.0.6.tar.gz) = 1022289
diff -urN /usr/ports/audio/fluidsynth/files/patch-configure audio/fluidsynth/files/patch-configure
--- /usr/ports/audio/fluidsynth/files/patch-configure	Thu Dec  4 20:51:39 2003
+++ audio/fluidsynth/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- configure.orig	Wed Dec 11 18:31:51 2002
-+++ configure	Thu Dec 12 12:07:17 2002
-@@ -7414,6 +7414,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/audio/fluidsynth/pkg-plist audio/fluidsynth/pkg-plist
--- /usr/ports/audio/fluidsynth/pkg-plist	Thu Dec  4 20:51:39 2003
+++ audio/fluidsynth/pkg-plist	Fri Oct  7 03:59:00 2005
@@ -1,7 +1,5 @@
 bin/fluidsynth
-lib/libfluidsynth.so.1
-lib/libfluidsynth.so
-lib/libfluidsynth.a
+include/fluidsynth.h
 include/fluidsynth/audio.h
 include/fluidsynth/event.h
 include/fluidsynth/gen.h
@@ -19,6 +17,8 @@
 include/fluidsynth/types.h
 include/fluidsynth/version.h
 include/fluidsynth/voice.h
-include/fluidsynth.h
+lib/libfluidsynth.a
+lib/libfluidsynth.so
+lib/libfluidsynth.so.2
 libdata/pkgconfig/fluidsynth.pc
 @dirrm include/fluidsynth
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list