aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2011-08-05 17:48:07 +0800
committergahr <gahr@FreeBSD.org>2011-08-05 17:48:07 +0800
commit1db5d8a7f9f4d833e7330a94e70b0e9bfd5cfcf1 (patch)
treec6ae777f2904932e7ac9c9c2bf0e9dff73c49c89 /x11-toolkits
parentc356d3ed32e9055b42408172dc3485a0681e32bd (diff)
downloadfreebsd-ports-graphics-1db5d8a7f9f4d833e7330a94e70b0e9bfd5cfcf1.tar.gz
freebsd-ports-graphics-1db5d8a7f9f4d833e7330a94e70b0e9bfd5cfcf1.tar.zst
freebsd-ports-graphics-1db5d8a7f9f4d833e7330a94e70b0e9bfd5cfcf1.zip
- Add the pthread library to the pkg-config "libs" option
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/fox16/Makefile1
-rw-r--r--x11-toolkits/fox17/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile
index 1bc5a929623..9f521aad34c 100644
--- a/x11-toolkits/fox16/Makefile
+++ b/x11-toolkits/fox16/Makefile
@@ -102,6 +102,7 @@ CONFIGURE_ARGS+= --with-profiling=gprof
.endif
post-patch:
+ ${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/fox.pc.in
# CXXFLAGS safeness
@${REINPLACE_CMD} -E -e \
's|-O2|${CXXFLAGS}|g ; \
diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index 619279bb44c..20488aae50f 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -48,6 +48,7 @@ BROKEN= does not build on amd64
.endif
post-patch:
+ ${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/fox17.pc.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/^SUBDIRS/s/ doc//' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
.endif