On Mon, Apr 19, 2010 at 15:51:01 +0600, Jacob Meuser wrote:
> audio/waveplay will be removed?
It is high time to remove :) aucat does same.
> math/freemat
FreeMat uses audio/portaudio-svn, portaudio-svn uses sndio.
Simply forgot to remove ossaudio. Patch attached.
In Ports there is a whole branch that uses ossaudio - lang/python.
If I find time, then try to convert Python on sndio.
--
Alexandr Shadchin
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/freemat/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile 26 Mar 2010 12:00:17 -0000 1.17
+++ Makefile 20 Apr 2010 16:53:25 -0000
@@ -4,7 +4,7 @@ COMMENT= environment for rapid engineeri
V= 3.6
DISTNAME= FreeMat-${V}
-PKGNAME= freemat-${V}p1
+PKGNAME= freemat-${V}p2
CATEGORIES= graphics math
@@ -16,11 +16,11 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB += GL GLU amd c curses g2c m ossaudio pthread stdc++ z
+WANTLIB += GL GLU amd c curses g2c m pthread stdc++ z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freemat/}
-MODULES= x11/qt4 devel/gettext
+MODULES= x11/qt4
LIB_DEPENDS= avcall::devel/ffcall \
arpack.>=1::math/arpack \
Index: patches/patch-acinclude_m4
===================================================================
RCS file: patches/patch-acinclude_m4
diff -N patches/patch-acinclude_m4
--- patches/patch-acinclude_m4 11 Jun 2008 21:09:06 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$OpenBSD: patch-acinclude_m4,v 1.3 2008/06/11 21:09:06 martynas Exp $
---- acinclude.m4.orig Fri Mar 14 17:43:34 2008
-+++ acinclude.m4 Thu Mar 20 14:05:42 2008
-@@ -304,13 +304,18 @@ extern_flags=""
- need_extern="no"
- LIBS="$LIBS $FLIBS"
-
-+save_LIBS="$LIBS"
-+LIBS="-lossaudio -lm -pthread $LIBS"
-+
-
AC_CHECK_LIB(portaudio,Pa_GetDefaultInputDevice,found_portaudio19="yes",found_portaudio19="no")
- AC_CHECK_HEADER(portaudio.h,[],found_portaudio19="no")
-
- if test x"$found_portaudio19" == xyes; then
- LIBS="-lportaudio $LIBS"
-- CFLAGS="$CFLAGS"
-+ CFLAGS="-pthread $CFLAGS"
- AC_DEFINE(HAVE_PORTAUDIO19, 1, [Set to 1 if you have libportaudio (v19
API)])
-+else
-+ LIBS="$save_LIBS"
- fi
-
- if test x"$found_portaudio19" != xyes; then