From e46786ffad4d28b932b7f43fee9e2608ebf5e3c8 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 1 Jul 2004 08:04:54 +0000 Subject: - Unbreak on 4.x Reported by: bento via kris Pointy hat: mezz --- emulators/pearpc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emulators/pearpc') diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile index 09b64ba0e55c..bb4d5708e89d 100644 --- a/emulators/pearpc/Makefile +++ b/emulators/pearpc/Makefile @@ -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 -- cgit v1.2.3