openbsd-ports/x11/kde/multimedia3/patches/patch-mpeglib_configure_in_in

26 lines
608 B
Plaintext

--- mpeglib/configure.in.in.orig Mon Oct 8 02:48:54 2007
+++ mpeglib/configure.in.in Sun Dec 28 13:40:17 2008
@@ -164,6 +164,9 @@ case "$OS_TYPE" in
NetBSD)
kde_mpeglib_compiles=yes
;;
+ OpenBSD)
+ kde_mpeglib_compiles=yes
+ ;;
Linux)
kde_mpeglib_compiles=yes
;;
@@ -192,6 +195,12 @@ case "$OS_TYPE" in
Linux)
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 | DragonFly)