aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-01-11 08:06:47 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-01-11 08:06:47 +0000
commitc78f00249b70605ea036ad386b3a495426d3c675 (patch)
tree016562c4dd4dd2e5fdf04e0a476de7aac95250ff /misc
parent8620e9039df20338b4aba477636a828bd0f5e3c3 (diff)
downloadports-c78f00249b70605ea036ad386b3a495426d3c675.tar.gz
ports-c78f00249b70605ea036ad386b3a495426d3c675.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/mbuffer/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index eadc376b19fe..7d9ee45a0d14 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -25,11 +25,14 @@ MAN1= ${PORTNAME}.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= needs pthread library
+BROKEN= needs C99 functions
.endif
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"
CFLAGS+= -m64
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure
+
.include <bsd.port.post.mk>