mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Respect PTHREAD_LIBS, fix build on -STABLE.
This commit is contained in:
parent
ef866e788f
commit
c843f82c98
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116225
@ -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>
|
||||
|
10
audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp
Normal file
10
audio/libtunepimp-old/files/patch-lib_mp3_trm.cpp
Normal file
@ -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
|
||||
|
@ -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>
|
||||
|
10
audio/libtunepimp/files/patch-lib_mp3_trm.cpp
Normal file
10
audio/libtunepimp/files/patch-lib_mp3_trm.cpp
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user