- Unbreak on 4.x

Reported by:	bento via kris
Pointy hat:	mezz
This commit is contained in:
Pav Lucistnik 2004-07-01 08:04:54 +00:00
parent fefe6bf4ed
commit e46786ffad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112648

View File

@ -62,6 +62,11 @@ pre-everything::
@${ECHO_MSG} ""
.endif
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/src/system/posix/types.h
.endif
post-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/src/Makefile