summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-08 16:24:32 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-08 16:24:32 +0000
commitdaa3b56d7826392104160bbf639fd41836dee45b (patch)
tree6e876ab2b28f799ce878fe97f0f4bd67ffdb61c2 /sysutils
parent- Fix fetching. It seems duplicate listing of single file in distinfo breaks (diff)
Fix runtime failure by linking against libpthread (GnomeVFS needs
pthread, and bpm may use GnomeVFS via GtkFileChooser).
Notes
Notes: svn path=/head/; revision=150674
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bpm/Makefile5
1 files changed, 4 insertions, 1 deletions
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 <bsd.port.mk>