summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-08-14 22:03:48 +0000
committerlofi <lofi@FreeBSD.org>2004-08-14 22:03:48 +0000
commit1546078b3f5aa58416a1e79cf1213329eb2a13f1 (patch)
tree192984fb8b7a5395dcbd7fea57909edcbca667ce /audio
parent66e1604332881925a55b4720de3807e5ba06b4c0 (diff)
downloadFreeBSD-ports-1546078b3f5aa58416a1e79cf1213329eb2a13f1.zip
FreeBSD-ports-1546078b3f5aa58416a1e79cf1213329eb2a13f1.tar.gz
Respect PTHREAD_LIBS, fix build on -STABLE.
Diffstat (limited to 'audio')
-rw-r--r--audio/libtunepimp-old/Makefile3
-rw-r--r--audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp10
-rw-r--r--audio/libtunepimp/Makefile3
-rw-r--r--audio/libtunepimp/files/patch-lib_mp3_trm.cpp10
4 files changed, 26 insertions, 0 deletions
diff --git a/audio/libtunepimp-old/Makefile b/audio/libtunepimp-old/Makefile
index 6e42d2c..fd05a18 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 0000000..411d7bc
--- /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
+
diff --git a/audio/libtunepimp/Makefile b/audio/libtunepimp/Makefile
index 6e42d2c..fd05a18 100644
--- a/audio/libtunepimp/Makefile
+++ b/audio/libtunepimp/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/files/patch-lib_mp3_trm.cpp b/audio/libtunepimp/files/patch-lib_mp3_trm.cpp
new file mode 100644
index 0000000..411d7bc
--- /dev/null
+++ b/audio/libtunepimp/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
+
OpenPOWER on IntegriCloud