diff options
author | lofi <lofi@FreeBSD.org> | 2004-08-15 06:03:48 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-08-15 06:03:48 +0800 |
commit | 1546078b3f5aa58416a1e79cf1213329eb2a13f1 (patch) | |
tree | 192984fb8b7a5395dcbd7fea57909edcbca667ce /audio/libtunepimp | |
parent | 66e1604332881925a55b4720de3807e5ba06b4c0 (diff) | |
download | freebsd-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')
-rw-r--r-- | audio/libtunepimp/Makefile | 3 | ||||
-rw-r--r-- | audio/libtunepimp/files/patch-lib_mp3_trm.cpp | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/audio/libtunepimp/Makefile b/audio/libtunepimp/Makefile index 6e42d2cdbd20..fd05a1850366 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 000000000000..411d7bcefaf9 --- /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 + |