add missing libossaudio so that this port can build properly.

This commit is contained in:
brad 2002-08-07 17:09:05 +00:00
parent 9e20aa3ae9
commit 9b3f51700a
2 changed files with 35 additions and 19 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.3 2002/06/04 09:52:45 espie Exp $
--- configure.in.orig Tue May 14 02:52:35 2002
+++ configure.in Thu May 30 17:30:44 2002
$OpenBSD: patch-configure_in,v 1.4 2002/08/07 17:09:05 brad Exp $
--- configure.in.orig Mon Jun 24 12:58:24 2002
+++ configure.in Mon Aug 5 16:18:26 2002
@@ -1070,7 +1070,7 @@ dnl else
dnl lib_xaw_opt=-lXaw
dnl fi
@ -45,16 +45,25 @@ $OpenBSD: patch-configure_in,v 1.3 2002/06/04 09:52:45 espie Exp $
Linux)
kde_mpeglib_compiles=yes
;;
@@ -1444,6 +1452,12 @@ case "$OS_TYPE" in
Linux)
AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"])
@@ -1446,6 +1454,12 @@ case "$OS_TYPE" in
AC_DEFINE(OS_Linux,1,[Define if you have linux pthread])
+ ;;
+
;;
+ OpenBSD)
+ OS_TYPE="BSD"
+ AC_CHECK_LIB(c_r, pthread_create, [LIBPTHREAD="-pthread"])
+ AC_DEFINE(OS_BSD,1,[Define if you have BSD pthread])
;;
+ ;;
+
FreeBSD)
OS_TYPE="BSD"
AC_CHECK_LIB(c_r, pthread_create, [LIBPTHREAD="-lc_r"]) dnl name of pthread lib in FreeBSD
@@ -1488,7 +1502,7 @@ esac
THIS_LIB_LIBS="-lX11 -lXext -lm -lstdc++ ${XVLIBS} ${DGALIBS} "
THIS_LIB_LIBS="${THIS_LIB_LIBS} ${XVIDMODELIBS} ${SDLLIB} ${CDDALIBS} "
-THIS_LIB_LIBS="${THIS_LIB_LIBS} ${OGG_VORBISLIBS} ${LIBPTHREAD}"
+THIS_LIB_LIBS="${THIS_LIB_LIBS} ${OGG_VORBISLIBS} ${LIBPTHREAD} ${LIBOSSAUDIO}"
AC_SUBST(THIS_LIB_LIBS)

View File

@ -1,5 +1,5 @@
--- mpeglib/configure.in.in.orig Sun Feb 17 18:39:29 2002
+++ mpeglib/configure.in.in Sat Apr 20 16:47:37 2002
--- mpeglib/configure.in.in.orig Sun Feb 17 12:39:29 2002
+++ mpeglib/configure.in.in Mon Aug 5 16:22:27 2002
@@ -19,7 +19,7 @@ dnl this does not work, but to have no e
dnl Checks for header files.
@ -35,16 +35,23 @@
Linux)
kde_mpeglib_compiles=yes
;;
@@ -240,6 +248,12 @@ case "$OS_TYPE" in
Linux)
AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"])
@@ -242,6 +250,12 @@ case "$OS_TYPE" in
AC_DEFINE(OS_Linux,1,[Define if you have linux pthread])
+ ;;
+
;;
+ OpenBSD)
+ OS_TYPE="BSD"
+ AC_CHECK_LIB(c_r, pthread_create, [LIBPTHREAD="-pthread"])
+ AC_DEFINE(OS_BSD,1,[Define if you have BSD pthread])
;;
+ ;;
+
FreeBSD)
OS_TYPE="BSD"
AC_CHECK_LIB(c_r, pthread_create, [LIBPTHREAD="-lc_r"]) dnl name of pthread lib in FreeBSD
@@ -284,5 +298,5 @@ esac
THIS_LIB_LIBS="-lX11 -lXext -lm -lstdc++ ${XVLIBS} ${DGALIBS} "
THIS_LIB_LIBS="${THIS_LIB_LIBS} ${XVIDMODELIBS} ${SDLLIB} ${CDDALIBS} "
-THIS_LIB_LIBS="${THIS_LIB_LIBS} ${OGG_VORBISLIBS} ${LIBPTHREAD}"
+THIS_LIB_LIBS="${THIS_LIB_LIBS} ${OGG_VORBISLIBS} ${LIBPTHREAD} ${LIBOSSAUDIO}"
AC_SUBST(THIS_LIB_LIBS)