1
0
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:
Dirk Meyer 2004-03-13 08:07:23 +00:00
parent 9b88b8bec2
commit 72cbc826b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103854
2 changed files with 6 additions and 4 deletions

View File

@ -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/

View File

@ -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/