-lpthread patches are no needed anymore.

This commit is contained in:
ajacoutot 2012-08-16 12:31:12 +00:00
parent d5a7e611ca
commit b963135f24
4 changed files with 2 additions and 52 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
# $OpenBSD: Makefile,v 1.2 2012/08/16 12:31:12 ajacoutot Exp $
COMMENT = open sound control protocol library
DISTNAME = liblo-0.26
SHARED_LIBS = lo 0.0
CATEGORIES = audio
HOMEPAGE = http://liblo.sourceforge.net/
REVISION = 0
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
--- configure.orig Mon Jan 2 19:12:26 2012
+++ configure Mon Jan 2 19:12:38 2012
@@ -10997,13 +10997,13 @@ fi
# Checks for libraries.
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -11063,7 +11063,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi

View File

@ -1,10 +0,0 @@
$OpenBSD: patch-liblo_pc_in,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
--- liblo.pc.in.orig Mon Jan 23 18:28:44 2012
+++ liblo.pc.in Mon Jan 23 18:28:52 2012
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: liblo
Version: @PACKAGE_VERSION@
Description: A lightweight OSC server/client library
-Libs: -L${libdir} -llo -lpthread
+Libs: -L${libdir} -llo -pthread
Cflags: -I${includedir}

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
--- src/Makefile.in.orig Mon Jan 23 18:28:05 2012
+++ src/Makefile.in Mon Jan 23 18:28:15 2012
@@ -227,7 +227,7 @@ SOURCE_FILES = address.c send.c message.c server.c met
lib_LTLIBRARIES = liblo.la
liblo_la_CFLAGS = -Wall -I$(top_srcdir)
liblo_la_SOURCES = $(SOURCE_FILES)
-liblo_la_LIBADD = -lpthread
+liblo_la_LIBADD = -pthread
liblo_la_LDFLAGS = -export-dynamic -version-info @LO_SO_VERSION@
testlo_CFLAGS = -Wall -I$(top_srcdir)
testlo_SOURCES = testlo.c