From daa3b56d7826392104160bbf639fd41836dee45b Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Thu, 8 Dec 2005 16:24:32 +0000 Subject: Fix runtime failure by linking against libpthread (GnomeVFS needs pthread, and bpm may use GnomeVFS via GtkFileChooser). --- sysutils/bpm/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sysutils') diff --git a/sysutils/bpm/Makefile b/sysutils/bpm/Makefile index e1fe77bca462..ff50fec51a5c 100644 --- a/sysutils/bpm/Makefile +++ b/sysutils/bpm/Makefile @@ -7,7 +7,7 @@ PORTNAME= bpm PORTVERSION= 0.4.1b -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils MASTER_SITES= http://www.meowfishies.com/code/bpm/ EXTRACT_SUFX= .tgz @@ -26,5 +26,8 @@ MAKE_ENV+= OSTYPE="${OPSYS}" post-patch: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e "s|-lintl|-lintl -L${LOCALBASE}/lib|g" +# GnomeVFS needs pthread; bpm may use GnomeVFS (via GtkFileChooser) + @${REINPLACE_CMD} -e 's|^CFLAGS+=|& ${PTHREAD_CFLAGS}|; \ + s|^LDLIBS+=|& ${PTHREAD_LIBS}|' ${WRKSRC}/src/Makefile .include -- cgit v1.2.3