diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-01-11 08:06:47 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-01-11 08:06:47 +0000 |
commit | c78f00249b70605ea036ad386b3a495426d3c675 (patch) | |
tree | 016562c4dd4dd2e5fdf04e0a476de7aac95250ff /misc/mbuffer | |
parent | * Migrate to gfortran. (diff) |
- Respect PTHREAD_LIBS
- mbuffer needs C99 function, atoll(3), which is not available on 4.x
Notes
Notes:
svn path=/head/; revision=182073
Diffstat (limited to 'misc/mbuffer')
-rw-r--r-- | misc/mbuffer/Makefile | 5 |
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> |