diff options
author | ahze <ahze@FreeBSD.org> | 2006-12-18 06:11:23 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-12-18 06:11:23 +0800 |
commit | ff4432700bf5a97c398475b4e10dad7c9ed3b8ab (patch) | |
tree | a75ab6da4a00432212f555ead493b1a31d0090cd | |
parent | b5e1ee8645a5ce752d1ed152aa59376b8ec6689a (diff) | |
download | freebsd-ports-gnome-ff4432700bf5a97c398475b4e10dad7c9ed3b8ab.tar.gz freebsd-ports-gnome-ff4432700bf5a97c398475b4e10dad7c9ed3b8ab.tar.zst freebsd-ports-gnome-ff4432700bf5a97c398475b4e10dad7c9ed3b8ab.zip |
Pass PTHREAD_LIBS in pkgconfig files
-rw-r--r-- | graphics/cairo/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 6cec8436ccee..b093b80148b0 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -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|; \ |