diff options
author | pav <pav@FreeBSD.org> | 2004-07-01 08:04:54 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-01 08:04:54 +0000 |
commit | e64138bf39d2520d55c1aed12bab94193660c841 (patch) | |
tree | 659e96a68df3756ba4ebcf70f1aa13258d8020ee /emulators | |
parent | 84293a167a9e9989efbeeb658753cc5711864dd9 (diff) | |
download | FreeBSD-ports-e64138bf39d2520d55c1aed12bab94193660c841.zip FreeBSD-ports-e64138bf39d2520d55c1aed12bab94193660c841.tar.gz |
- Unbreak on 4.x
Reported by: bento via kris
Pointy hat: mezz
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/pearpc/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile index 09b64ba..bb4d570 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 |