1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Respect PTHREAD_LIBS

- mbuffer needs C99 function, atoll(3), which is not available on 4.x
This commit is contained in:
Rong-En Fan 2007-01-11 08:06:47 +00:00
parent 8620e9039d
commit c78f00249b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182073

View File

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