aboutsummaryrefslogtreecommitdiffstats
path: root/misc/chmlib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-10-25 09:22:01 +0800
committerijliao <ijliao@FreeBSD.org>2004-10-25 09:22:01 +0800
commit59fe34265aa62111eeb2d167fe7ea359201816e0 (patch)
tree9c25dc173750eac525d81dddb88eab857bba577d /misc/chmlib
parentede30681c6e8de423dffca03dfea2ac900f5bc78 (diff)
downloadfreebsd-ports-gnome-59fe34265aa62111eeb2d167fe7ea359201816e0.tar.gz
freebsd-ports-gnome-59fe34265aa62111eeb2d167fe7ea359201816e0.tar.zst
freebsd-ports-gnome-59fe34265aa62111eeb2d167fe7ea359201816e0.zip
fix pthread problem on 4-stable
Reported by: pointyhat via kris
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>