mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00: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
@ -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…
Reference in New Issue
Block a user