mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
- Fix problmes when -lpthread does exist.
PR: 63457
This commit is contained in:
parent
9b88b8bec2
commit
72cbc826b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103854
@ -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/
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user