aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 0cab765c2e6a..20106be6c63d 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -25,7 +25,7 @@
PORTNAME= vlc
PORTVERSION= 0.7.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/
@@ -248,7 +248,8 @@ pre-everything::
@${ECHO_MSG} "For example, make WITH_AUTODETECT=yes"
post-patch:
- @${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's/-lpthread/-lpthread-broken/' \
+ -e 's/-lc_r/${PTHREAD_LIBS}/' ${WRKSRC}/configure
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/