summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormarkd <markd>2005-11-14 08:56:07 +0000
committermarkd <markd>2005-11-14 08:56:07 +0000
commitfc3723c7ad012bba648348482005dcd3b224df27 (patch)
tree7689fc00352f3b4c5ba813130142d6b0483fb863 /audio
parent993842ffc0bc86efd5d16e60b93079cc27ebd0f6 (diff)
downloadpkgsrc-fc3723c7ad012bba648348482005dcd3b224df27.tar.gz
Fix build on NetBSD since PTHREAD variables were used, rather than wired
-lpthread. On NetBSD this change meant that -pthread was passed to build of libtpthread.la (via ${PTHREAD_LDFLAGS}) but libtool doesn't then pass this on when linking libtunepimp so add it there as well.
Diffstat (limited to 'audio')
-rw-r--r--audio/tunepimp/distinfo3
-rw-r--r--audio/tunepimp/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/tunepimp/distinfo b/audio/tunepimp/distinfo
index 054cfbe6f7d..f811e0f8d14 100644
--- a/audio/tunepimp/distinfo
+++ b/audio/tunepimp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/11/11 16:04:29 joerg Exp $
+$NetBSD: distinfo,v 1.6 2005/11/14 08:56:07 markd Exp $
SHA1 (libtunepimp-0.3.0.tar.gz) = 54c60232f3b06f2316e2b1130eb981352995dfc8
RMD160 (libtunepimp-0.3.0.tar.gz) = f471f96185aa79eff8a83fd5366904d009791628
@@ -6,3 +6,4 @@ Size (libtunepimp-0.3.0.tar.gz) = 524889 bytes
SHA1 (patch-aa) = 5dc5f48d01b7b1cdc1462f0bf07d0eb917fdb3c7
SHA1 (patch-ab) = 1f5c3ea550800edac66ee8c7365cf436811233a9
SHA1 (patch-ac) = d117d9df0b0811b1ef046920c2f1c32ce3378c5f
+SHA1 (patch-ad) = 0d6ca1a3778fe5a87bb5578a3b668ff0c39063d1
diff --git a/audio/tunepimp/patches/patch-ad b/audio/tunepimp/patches/patch-ad
new file mode 100644
index 00000000000..7ea82cc4ee9
--- /dev/null
+++ b/audio/tunepimp/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/11/14 08:56:08 markd Exp $
+
+--- lib/Makefile.in.orig 2005-11-14 21:34:21.000000000 +1300
++++ lib/Makefile.in
+@@ -250,7 +250,7 @@ libtunepimp_la_SOURCES = tunepimp.cpp fi
+ # increment age.
+ # 6. If any interfaces have been removed since the last public release, then
+ # set age to 0.
+-libtunepimp_la_LDFLAGS = -version-info 2:0:0
++libtunepimp_la_LDFLAGS = -version-info 2:0:0 ${PTHREAD_LDFLAGS}
+ libtunepimp_la_LIBADD = threads/posix/libtpthread.la utf8/libutf8.la id3tag/libid3tag.la @TP_LIBS@
+ noinst_HEADERS = analyzer.h dirsearch.h fstrcmp.h i18n.h id3_meta.h lookup.h mp3_trm.h flac_trm.h flac_meta.h ov_trm.h submit.h trm.h vcedit.h vorbis_meta.h wav_trm.h ape_meta.h ape_trm.h filecache.h filelookup.h file_meta.h fstrcmp.h lookuptools.h write.h metadata.h watchdog.h
+ all: all-recursive