From 4e700a0472316bec991bc9b3a7465c3022bf32cf Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 24 Jul 2006 13:01:16 +0000 Subject: Fix hard-coded -lpthread. --- audio/libtunepimp/distinfo | 3 ++- audio/libtunepimp/patches/patch-ab | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 audio/libtunepimp/patches/patch-ab (limited to 'audio') diff --git a/audio/libtunepimp/distinfo b/audio/libtunepimp/distinfo index 2cbd1af3d3f..f573eb95b32 100644 --- a/audio/libtunepimp/distinfo +++ b/audio/libtunepimp/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.4 2006/07/12 13:28:08 wiz Exp $ +$NetBSD: distinfo,v 1.5 2006/07/24 13:01:16 joerg Exp $ SHA1 (libtunepimp-0.5.0.tar.gz) = 548b999b999f7b7c23dbd38f7f965fd69b54aa30 RMD160 (libtunepimp-0.5.0.tar.gz) = 9c800f813261a23dbd35be32371ac78ce2f886f1 Size (libtunepimp-0.5.0.tar.gz) = 1075791 bytes SHA1 (patch-aa) = 1c0e484dbe02309ab09ce153dcad710590aedcd1 +SHA1 (patch-ab) = eddb91c7fb533d9e2ca776c8953a3a72192de923 SHA1 (patch-ac) = 1cf4f71b3eccb1efd137418365a7bb17684d80ce SHA1 (patch-ad) = 483990915716897124379007ef8602c7c63e953a SHA1 (patch-ae) = a28c1b849524849877a216dcb78d1bce33103ed5 diff --git a/audio/libtunepimp/patches/patch-ab b/audio/libtunepimp/patches/patch-ab new file mode 100644 index 00000000000..52b00a5ea26 --- /dev/null +++ b/audio/libtunepimp/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.4 2006/07/24 13:01:16 joerg Exp $ + +--- lib/threads/posix/Makefile.in.orig 2006-07-24 12:42:15.000000000 +0000 ++++ lib/threads/posix/Makefile.in +@@ -211,8 +211,7 @@ target_alias = @target_alias@ + INCLUDES = -I$(top_srcdir)/include/tunepimp-0.5 + noinst_LTLIBRARIES = libtpthread.la + libtpthread_la_SOURCES = mutex.cpp mutex.h thread.cpp thread.h semaphore.cpp semaphore.h +-@FREEBSD_FALSE@libtpthread_la_LIBADD = -lpthread +-@FREEBSD_TRUE@libtpthread_la_LIBADD = -lthr ++libtpthread_la_LIBADD = ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} + all: all-am + + .SUFFIXES: -- cgit v1.2.3