1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix runtime failure by linking against libpthread (GnomeVFS needs

pthread, and bpm may use GnomeVFS via GtkFileChooser).
This commit is contained in:
Jean-Yves Lefort 2005-12-08 16:24:32 +00:00
parent a46fcd52a4
commit daa3b56d78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150674
2 changed files with 8 additions and 2 deletions

View File

@ -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>

View File

@ -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>