aboutsummaryrefslogtreecommitdiff
path: root/misc/chmlib
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-10-25 01:22:01 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-10-25 01:22:01 +0000
commita73d9b05f69ab6bfca1fdd6ce1174d7377862627 (patch)
tree2ad14b074f742b5072dde4041f734953d62729f0 /misc/chmlib
parent10ebf7e9604f4f08723094112253d693d7843a88 (diff)
downloadports-a73d9b05f69ab6bfca1fdd6ce1174d7377862627.tar.gz
ports-a73d9b05f69ab6bfca1fdd6ce1174d7377862627.zip
fix pthread problem on 4-stable
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=120096
Diffstat (limited to 'misc/chmlib')
-rw-r--r--misc/chmlib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/chmlib/Makefile b/misc/chmlib/Makefile
index a0ec810264b4..be5b6c23b427 100644
--- a/misc/chmlib/Makefile
+++ b/misc/chmlib/Makefile
@@ -17,8 +17,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for dealing with Microsoft ITSS/CHM format files
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
+post-patch:
+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure
+
.include <bsd.port.mk>