mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Pass PTHREAD_LIBS in pkgconfig files
This commit is contained in:
parent
f706d76da8
commit
7aa5bb9c3a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180044
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PORTNAME= cairo
|
||||
PORTVERSION= 1.2.6
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://cairographics.org/releases/
|
||||
|
||||
|
@ -58,6 +58,8 @@ post-patch:
|
|||
${WRKSRC}/src/*.* \
|
||||
${WRKSRC}/pixman/src/*.*
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|-lcairo|-lcairo ${PTHREAD_LIBS}|' \
|
||||
${WRKSRC}/src/*.pc.in
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
|
||||
${WRKSRC}/test/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|src test doc|src doc|; \
|
||||
|
|
Loading…
Add table
Reference in a new issue