Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/soundtouch/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile	21 Mar 2013 08:45:13 -0000	1.11
+++ Makefile	3 Feb 2015 19:39:27 -0000
@@ -2,31 +2,32 @@
 
 COMMENT=	tempo/pitch audio processing library
 
-DISTNAME=	soundtouch-1.3.1
-REVISION=	0
-SHARED_LIBS +=	BPM		0.0      # .0.0
+DISTNAME=	soundtouch-1.8.0
 SHARED_LIBS +=	SoundTouch	0.0      # .0.0
 CATEGORIES=	audio devel
 
 HOMEPAGE=	http://www.surina.net/soundtouch/
 
-# LGPL
-PERMIT_PACKAGE_CDROM=	Yes
+MAINTAINER=	Eric Lalonde <eric.c.lalonde@gmail.com>
 
 MASTER_SITES=	${HOMEPAGE}
 
+# LGPL
+PERMIT_PACKAGE_CDROM=	Yes
+
 WANTLIB=	c m stdc++
 
 BUILD_DEPENDS=	${MODGNU_AUTOCONF_DEPENDS} \
 		${MODGNU_AUTOMAKE_DEPENDS} \
 		devel/libtool
 
+WRKDIST=	${WRKDIR}/soundtouch
 
 AUTOCONF_VERSION=2.61
 AUTOMAKE_VERSION=1.9
 
 CONFIGURE_STYLE=gnu
-CONFIGURE_ARGS=	${CONFIGURE_SHARED}
+CONFIGURE_ARGS=	${CONFIGURE_SHARED} --disable-x86-optimizations
 
 MAKE_FLAGS=	AUTOCONF_VERSION=${AUTOCONF_VERSION} \
 		AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
@@ -37,6 +38,6 @@ pre-configure:
 		touch NEWS README AUTHORS ChangeLog && env \
 		AUTOCONF_VERSION=${AUTOCONF_VERSION} \
 		AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
-		autoreconf -i
+		./bootstrap
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/soundtouch/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo	18 Jan 2015 03:12:48 -0000	1.2
+++ distinfo	3 Feb 2015 19:39:27 -0000
@@ -1,2 +1,2 @@
-SHA256 (soundtouch-1.3.1.tar.gz) = 8mj7BSAPxV5Q6IdydlqCJijxoBV6SlfMlUWsUKDU/Zw=
-SIZE (soundtouch-1.3.1.tar.gz) = 314641
+SHA256 (soundtouch-1.8.0.tar.gz) = PUFh10yiXFqYxp27jqEP0r5Am6GjoL+B20B8TCYfFms=
+SIZE (soundtouch-1.8.0.tar.gz) = 106229
Index: patches/patch-Makefile_am
===================================================================
RCS file: /cvs/ports/audio/soundtouch/patches/patch-Makefile_am,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-Makefile_am
--- patches/patch-Makefile_am	30 Jun 2011 10:02:35 -0000	1.3
+++ patches/patch-Makefile_am	3 Feb 2015 19:39:27 -0000
@@ -1,16 +1,15 @@
-$OpenBSD: patch-Makefile_am,v 1.3 2011/06/30 10:02:35 jasper Exp $
---- Makefile.am.orig	Sat Nov 24 14:56:18 2007
-+++ Makefile.am	Sat Nov 24 14:59:39 2007
-@@ -28,10 +28,11 @@ SUBDIRS=include source
- 
- 
- # list files that are documentation to be packaged in a release tarball and installed
--pkgdoc_DATA=COPYING.TXT README.html
-+pkgdoc_DATA=README.html
- 
- # extra data files that are to be pacakged in a release tarball and installed into the data directory
- #pkgdata_DATA=
+--- Makefile.am.orig	Tue Jan  7 12:28:51 2014
++++ Makefile.am	Mon Jan 19 19:15:01 2015
+@@ -28,10 +28,11 @@ SUBDIRS=include source
+ 
+ 
+ # list files that are documentation to be packaged in a release tarball and installed
+-pkgdoc_DATA=COPYING.TXT README.html
++pkgdoc_DATA=README.html
+ 
+ # extra data files that are to be pacakged in a release tarball and installed into the data directory
+ #pkgdata_DATA=
 +pkgdocdir=$(datadir)/doc/soundtouch
- 
- # sets up for soundtouch.m4 to be installed
- m4datadir=$(datadir)/aclocal
+ 
+ # sets up for soundtouch.m4 to be installed
+ m4datadir=$(datadir)/aclocal
Index: patches/patch-configure_ac
===================================================================
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure_ac	3 Feb 2015 19:39:27 -0000
@@ -0,0 +1,11 @@
+--- configure.ac.orig	Tue Jan  7 12:28:51 2014
++++ configure.ac	Mon Jan 19 20:33:09 2015
+@@ -23,7 +23,7 @@ AC_INIT(SoundTouch, 1.8.0, [http://www.surina.net/soun
+ AC_CONFIG_AUX_DIR(config)
+ AM_CONFIG_HEADER([include/soundtouch_config.h])
+ AM_INIT_AUTOMAKE
+-AM_SILENT_RULES([yes])
++m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
+ #AC_DISABLE_SHARED	dnl This makes libtool only build static libs 
+ AC_DISABLE_STATIC	dnl This makes libtool only build shared libs
+ #AC_GNU_SOURCE 		dnl enable posix extensions in glibc
Index: patches/patch-include_STTypes_h
===================================================================
RCS file: patches/patch-include_STTypes_h
diff -N patches/patch-include_STTypes_h
--- patches/patch-include_STTypes_h	8 Dec 2007 11:05:58 -0000	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-include_STTypes_h,v 1.1.1.1 2007/12/08 11:05:58 ajacoutot Exp $
---- include/STTypes.h.orig	Sat Nov 24 13:17:03 2007
-+++ include/STTypes.h	Sat Nov 24 13:17:37 2007
-@@ -92,7 +92,9 @@ namespace soundtouch
-     /// However, if you're having difficulties getting the optimized routines 
-     /// compiled with your compler (e.g. some gcc compiler versions may be picky), 
-     /// you may wish to disable the optimizations to make the library compile.
-+#ifndef __OpenBSD__
-     #define ALLOW_OPTIMIZATIONS     1
-+#endif
- 
- 
-     // If defined, allows the SIMD-optimized routines to take minor shortcuts 
Index: patches/patch-source_SoundTouch_Makefile_am
===================================================================
RCS file: patches/patch-source_SoundTouch_Makefile_am
diff -N patches/patch-source_SoundTouch_Makefile_am
--- patches/patch-source_SoundTouch_Makefile_am	30 Jun 2011 10:02:35 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-source_SoundTouch_Makefile_am,v 1.3 2011/06/30 10:02:35 jasper Exp $
---- source/SoundTouch/Makefile.am.orig	Sat Nov 24 13:45:29 2007
-+++ source/SoundTouch/Makefile.am	Sat Nov 24 13:45:36 2007
-@@ -35,7 +35,7 @@ libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FI
- 
- # ??? test for -fcheck-new in configure.ac
- # other compiler flags to add
--AM_CXXFLAGS=-O3 -msse -fcheck-new -I../../include
-+AM_CXXFLAGS=-fcheck-new -I../../include
- 
- # other linking flags to add
- #libSoundTouch_la_LIBADD=
Index: patches/patch-source_example_SoundStretch_Makefile_am
===================================================================
RCS file: patches/patch-source_example_SoundStretch_Makefile_am
diff -N patches/patch-source_example_SoundStretch_Makefile_am
--- patches/patch-source_example_SoundStretch_Makefile_am	30 Jun 2011 10:02:35 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-source_example_SoundStretch_Makefile_am,v 1.3 2011/06/30 10:02:35 jasper Exp $
---- source/example/SoundStretch/Makefile.am.orig	Sat Nov 24 13:45:12 2007
-+++ source/example/SoundStretch/Makefile.am	Sat Nov 24 13:45:57 2007
-@@ -47,7 +47,7 @@ soundstretch_LDADD=../../SoundTouch/libSoundTouch.la .
- soundstretch_LDFLAGS=-s
- 
- ## additional compiler flags
--soundstretch_CXXFLAGS=-O3 -I../bpm
-+soundstretch_CXXFLAGS=-I../bpm
- 
- #clean-local: 
- #	-rm -f additional-files-to-remove-on-make-clean
Index: patches/patch-source_example_bpm_Makefile_am
===================================================================
RCS file: patches/patch-source_example_bpm_Makefile_am
diff -N patches/patch-source_example_bpm_Makefile_am
--- patches/patch-source_example_bpm_Makefile_am	30 Jun 2011 10:02:35 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-source_example_bpm_Makefile_am,v 1.3 2011/06/30 10:02:35 jasper Exp $
---- source/example/bpm/Makefile.am.orig	Sat Nov 24 13:45:06 2007
-+++ source/example/bpm/Makefile.am	Sat Nov 24 13:45:50 2007
-@@ -33,7 +33,7 @@ libBPM_la_SOURCES=BPMDetect.cpp PeakFinder.cpp
- 
- 
- # other compiler flags to add
--AM_CXXFLAGS=-O3 -I../../../include
-+AM_CXXFLAGS=-I../../../include
- 
- # other linking flags to add
- #libBPM_la_LIBADD=
Index: pkg/PFRAG.shared
===================================================================
RCS file: /cvs/ports/audio/soundtouch/pkg/PFRAG.shared,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PFRAG.shared
--- pkg/PFRAG.shared	8 Dec 2007 11:05:58 -0000	1.1.1.1
+++ pkg/PFRAG.shared	3 Feb 2015 19:39:27 -0000
@@ -1,3 +1,2 @@
 @comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/12/08 11:05:58 ajacoutot Exp $
-@lib lib/libBPM.so.${LIBBPM_VERSION}
 @lib lib/libSoundTouch.so.${LIBSoundTouch_VERSION}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/soundtouch/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST	8 Dec 2007 11:05:58 -0000	1.1.1.1
+++ pkg/PLIST	3 Feb 2015 19:39:27 -0000
@@ -1,6 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/08 11:05:58 ajacoutot Exp $
 %%SHARED%%
-bin/soundstretch
+@bin bin/soundstretch
 include/soundtouch/
 include/soundtouch/BPMDetect.h
 include/soundtouch/FIFOSampleBuffer.h
@@ -8,12 +8,9 @@ include/soundtouch/FIFOSamplePipe.h
 include/soundtouch/STTypes.h
 include/soundtouch/SoundTouch.h
 include/soundtouch/soundtouch_config.h
-lib/libBPM.a
-lib/libBPM.la
 lib/libSoundTouch.a
 lib/libSoundTouch.la
-lib/pkgconfig/
-lib/pkgconfig/soundtouch-1.0.pc
+lib/pkgconfig/soundtouch.pc
 share/aclocal/
 share/aclocal/soundtouch.m4
 share/doc/soundtouch/
