aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-13 16:07:23 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-13 16:07:23 +0800
commit4e43ec497b50c04e8250d7a8fca8a48e02435ba3 (patch)
tree352c4daa74924968b44422fdf3b7d64fbd8cee97 /multimedia/vlc
parent017da0602ca95cc883c332298e7a576a95c4ad0f (diff)
downloadfreebsd-ports-gnome-4e43ec497b50c04e8250d7a8fca8a48e02435ba3.tar.gz
freebsd-ports-gnome-4e43ec497b50c04e8250d7a8fca8a48e02435ba3.tar.zst
freebsd-ports-gnome-4e43ec497b50c04e8250d7a8fca8a48e02435ba3.zip
- Fix problmes when -lpthread does exist.
PR: 63457
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/