aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libtunepimp-old
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-08-15 06:03:48 +0800
committerlofi <lofi@FreeBSD.org>2004-08-15 06:03:48 +0800
commit1546078b3f5aa58416a1e79cf1213329eb2a13f1 (patch)
tree192984fb8b7a5395dcbd7fea57909edcbca667ce /audio/libtunepimp-old
parent66e1604332881925a55b4720de3807e5ba06b4c0 (diff)
downloadfreebsd-ports-gnome-1546078b3f5aa58416a1e79cf1213329eb2a13f1.tar.gz
freebsd-ports-gnome-1546078b3f5aa58416a1e79cf1213329eb2a13f1.tar.zst
freebsd-ports-gnome-1546078b3f5aa58416a1e79cf1213329eb2a13f1.zip
Respect PTHREAD_LIBS, fix build on -STABLE.
Diffstat (limited to 'audio/libtunepimp-old')
-rw-r--r--audio/libtunepimp-old/Makefile3
-rw-r--r--audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp10
2 files changed, 13 insertions, 0 deletions
diff --git a/audio/libtunepimp-old/Makefile b/audio/libtunepimp-old/Makefile
index 6e42d2cdbd20..fd05a1850366 100644
--- a/audio/libtunepimp-old/Makefile
+++ b/audio/libtunepimp-old/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libtunepimp
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/
@@ -32,5 +33,7 @@ USE_LIBTOOL_VER=15
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
s|^CXXFLAGS=|#CXXFLAGS=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lthr|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/lib/threads/posix/Makefile.in
.include <bsd.port.mk>
diff --git a/audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp b/audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp
new file mode 100644
index 000000000000..411d7bcefaf9
--- /dev/null
+++ b/audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp
@@ -0,0 +1,10 @@
+--- lib/mp3_trm.cpp.orig Sat Aug 14 23:35:41 2004
++++ lib/mp3_trm.cpp Sat Aug 14 23:35:55 2004
+@@ -82,6 +82,7 @@
+ #ifdef WIN32
+ #include <winsock.h>
+ #else
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #endif
+