From 59fe34265aa62111eeb2d167fe7ea359201816e0 Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 25 Oct 2004 01:22:01 +0000 Subject: fix pthread problem on 4-stable Reported by: pointyhat via kris --- misc/chmlib/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc/chmlib') 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 -- cgit